The angle of elevation of the top of a building from a point Z on…