Out of $18$ points in a plane, no three are in same straight line except $5$ points which are collinear.
Then the number of $(a)$ Straight lines $(b)$ Triangles which can be formed by joining them.
$\bf{My\; Solution::}$ $(a)$ For calculation of straight lines::
If there is no condition, then the number of straight line $ = $ choosing $2$ points out of $18$ points $\displaystyle = \binom{18}{2}$
but given that $5$ points are collinear. So we can draw only one line by joining them.
But I did not understand why my answer is wrong.
please explain me,
Thanks