The diagram is a little bit off but mostly correct. The angle of depression or elevation is done with respect to a horizontal line. In your diagram 30 degrees would be the angle of depression instead of 20 degrees.
You will find the second building has greater height than the first due to the...