Use the Pythagorean Theorem: .
So your straight line distance is 10.
We can also recognize this as a multiple of the 3-4-5 Pythagorean triple. We have , with x being the desired value. Therefore x=10, like previously.
The shipping would be 15.75 because 5% of 15 is 0.75, so add 15 to 0.75 and the answer is 15.75 :)
Just substitute the value of x from second equation into first equation:
N = x + y - n = 5
N = u + v + y - n = 5
N = 0 + y - n = 5
In short, N would be equal to y - n which is still equal to 5
Hope this helps!