Let the height of the monument = h
Let the distance from the base of the monument to a point directly under the apex = x
So we have these equations
tan(42) = h / x rearrange as
x = h / tan (42) (1)
We also have
tan (37.8) = h / (100 + x)
(100 + x) tan (37.8) = h
100*tan(37.8) + x *tan (37.8) = h (2)
Sub (1) into (2)
100* tan(37.8) + (h /tan(42)* tan (37.8) = h
100* tan(37.8) = h - h [ tan (37.8) / tan(42) ]
100* tan (37.8) = h [ 1 - tan(37.8)/tan(42) ]
h = [ 100 * tan (37.8) ] / [ 1 - tan(37.8)/tan(42) ] ≈ 560 ft