Two straight lines intersects at a point O. Points A1, A2, ......... An are taken on one line and B1, B2, ........ Bn on the other. If the point O is not to be used, the number of triangles that can be drawn using these points as vertices, is :
Know your College Admission Chances Based on your Rank/Percentile, Category and Home State.
Get your JEE Main Personalised Report with Top Predicted Colleges in JoSA
Let

So, there are
on
To draw a triangle without using 0, two points to be taken from one of the line as vertices and one point from the other line.
= n(n – 1) . n
= n2(n – 1)