Solve for me please very confused asap

Hello!
As you can see, you multiply 6 by 3 to get to 18. Therefore, x is multiplied by 3 to get to 27. To find x, we could just divide by 3, giving us 9.
We could also cross multiply and solve for x.
18x=6(27)
18x=162
x=9
Therefore, our answer is A) 9.
I hope this helps!