Lines from the Corner, Sides, and Center to Points on a Grid