Answer :

n is equal to 5 because you divide 45 by 9.
9 in the number sitting next to the variable (n)
For example

5n=20
-Divide 20 by 5
answer =4