Use the like bases property to solve the equation
3x=27\displaystyle {3}^{{x}}={27}

x=\displaystyle {x}=