Think about trig.
Draw a right angle triangle.
Put right angle bottom right
Put 1500m on the base
Put 40m on the vertical
Put unkown in bottom left angle
you have the measurements of the sides opposite and adjacent to the angle you want.
So the trig rules say you use the Tan...