Assume that for any set of 5 points, there is only 1 polygon that can be drawn. That is, the polygons are “simple” and the sides don’t intersect. Then, selecting five points is the same as selecting a polygon. But, that’s the same as selecting the two points that aren’t in the polygon. To pick those points, pick one at random (7 ways to do this) and then pick another (6 ways to do this). That gives 7x6=42 ways to select pairs of point. But, selecting A then B is the same as selecting B then A, so we are double counting by a factor of 2, and so the final answer is 42/2 = 21.

Alternatively, use the formula 7C5 = 7!/(5!2!) = 21 to go directly to the answer.