We know that,
nCr
According to the question,
Number of points = 18
Number of Collinear points = 5
Number of lines form by 18 points = 18C2
For 5 points to be collinear = 5C2
The number of lines that can be formed joining the point, = 18C2–5C2 + 1
= 153-10+1
= 144