draw up a right-angled triangle
.....___x___
....|...........-''
..2|......-'' y
....|.-'
my best triangle..
let the hypotenuse = y, horizontal = x, vertical = 2
you're trying to find the rate at which y increases when y = 5, i.e. dy/dt
we know that the plane is flying at 500km/h...