All you do is pythagorean theorem. Which is A squared plus B squared equals C squared. Think of each graph as a right triangle. If you make it a triangle then you know that one side is 6 and one side is 2 so then you can figure out the problem by using Pythagorean theorem to solve for the long side also known as C or C squared