Step-by-step explanation:
With a graph I am immediately unintelligent, maybe you use the distance formula and plug in the points and get the distance of each side?