The information indicates that you form a Right Triangle with a base of 12 and a height of 8 and longest side being the distance back down to the origin. Assuming this is correct you can use the Pythagorean Theorem to calculate the longest side.
122 + 82 = c2
Where c is the hypotenuse or longest side
Give it a try.
If you have any questions please send me a message..
Brenda D.
05/15/19