The x is 2 :) I hope it’s right! I’m pretty sure it is though !
Height of tree is given by the distance multiplied by the tangent of the angle of elevation:
Height = 30*tan(40) = 30(0.8391)=25.17 ft
I think it is letter A ,man. yeah that gotta be the answer