Use coordinates to find the length of a side between points having the same x-coordinate or the same y- coordinate.