A flagpole is placed at the top of a tower. The angles of elevation of…