A straight line is formed by joining any two points
∴ The number of straight lines that can be formed by joining 25 points is 25C2
But 6 points are collinear
∴ These 6 points form only one line instead of 6C2 lines
∴ The total number of lines that can be formed is 25C2−6C2+1=286