====================================================
Explanation:
The angle adjacent to the 5 degree angle is 90-5 = 85 degrees
Or you could note that 85+5 = 90.
Then from here you'd use the tangent ratio
tan(angle) = opposite/adjacent
tan(85) = 4629/x
x*tan(85) = 4629
x = 4629/tan(85)
x = 404.985 approximately
x = 405 meters when rounding to the nearest whole number.