Here is the answer.
You just have to remember the given formula.
Answer:
Solution given
tan θ=opposite/adjacent=y/x is a required answer.