use a grid and lengths of line segments to give a geometric argument