Which one is correct? I'm getting told two different things. Find the value of x

Answer:
x ≈ 25.7
Step-by-step explanation:
using the tangent ratio in the right triangle
tan65° = [tex]\frac{opposite}{adjacent}[/tex] = [tex]\frac{x}{12}[/tex] ( multiply both sides by 12 )
12 × tan65° = x , then
x ≈ 25.7 ( to the nearest tenth )