2³ + 3² = 2*2*2+3*3= 8+9=17
a=2,
b=3,
P= 17,
2,3,17 are all prime numbers
Using cosine law,
d^2 = 65^2 + 35^2 - 2(65)(35)cos140
= 8935.5022
d = sqrt(8935.5022)
= 94.5 m
Angle = inverseCos(35sin40 / 94.5) = 76.23 degrees South of East
B I think hopes this helps