(i) Number of straight lines formed joining the 18 points, taking 2 points at a time =
Number of straight lines formed joining the 5 points, taking 2 points at a time =
But, when 5 collinear points are joined pair wise, they give only one line.
∴ Required number of straight lines =
(ii) Number of triangles formed joining the 18 points, taking 3 points at a time =
Number of straight lines formed joining the 5 points, taking 3 points at a time =
∴ Required number of triangles =