There are certain number of points marked on a plane, no three of which lie on a straight line. If the total number of hexagons that you can make by using any six of the points as vertices is equal to the total number of octagons that you can make by using any eight of the points as vertices, how many points are marked on the plane?