Please help me with this math problem!! Will give brainliest if correct!! :)

Answer:
2.98
Step-by-step explanation:
Tan(40) = 2.5/x
x = 2.5/Tan(40)
x = 2.98