Urgent help needed with right triangle trig!

So we can make this a triangle: the angle is 40° and the bottom side is 360. Therefore, we want to find the side opposite to the angle, where we use tangent, which is opposite (what we are trying to find)/ adjacent (which is 360 ft).
tan(40°)=x/360
x=360tan(40°) ≈ 302.07. Therefore, the answer is about 302 ft