A mango in a tree is located at a horizontal and vertical distnace of 30 m and 40 m