There are 10 points in a plane 4 points are collinear. Other than the 4 points, no other set of 3 points is collinear. All points are joined to one another. Let L be the number of different straight lines and T be the number of different triangles, then
Out of 10 points any 2 points can be selected in 10C2 ways.
Out of 4 collinear points, any 2 can be selected in 4C2 ways.
Joining any 2 points gives a straight line. But for collinear points one line will be counted 4C2 times.
Hence, total number of unique straight lines L is 10C2−(4C2)+1=40
Similarly, out of 10 points any 3 points can be selected in 10C3 ways.
Out of 4 collinear points, any 3 can be selected in 4C3 ways.
Since joining collinear points will not form a triangle, the number of different triangles T is 10C3−4C3=116
3L−4=116=T