Two mountains are 1020 m and 1235 m high. Standing on the summit of the lower one I look up through an angle of elevation of 160 to see the summit of the higher one. Calculate the horizontal distance between the two mountains and the distance between the two summits.

2 answers

difference in heights=215m
tan(16deg)=215/distance
solve for distance.
difference in heights = 1235-1020 = 215 m
I will assume your angle is 16° , not 160° , the latter would make no sense

so you are looking at a right-angled triangle with height of 215 and a base angle of 16°

horizontal distance between them ---- x
tan16° = 215/x
x = 215/tan16 = ....

let the hypotenuse, the distance between them, be h
sin16 = 215/h
h = 215/sin16 = ....