Dear Sanchit,
We need not remember a formula to answer questions like these. Instead let us get into some logic.
Let us say there are ‘n’ points on a plane of which no three are collinear.
In order to draw a line since we need 2 points and from the given ‘n’ points we can select 2 points in
ways.
Hence the total number of lines that can be drawn using these ‘n’ points is
Similarly for a triangle since we need 3 points, the total number of triangles that can be drawn will be 
Now out of the given ‘n’ points if ‘m’ points are collinear,
The total number of straight lines will be
(Here 1 is added because all the ‘m’ collinear points will give one line)
The total number of triangles will be 
So coming to your question the answer will be
.
Post Comments