I won't do your problem for you. Instead here is one EXACTLY like yours.
Use it as a model to solve yours:
Write 27 as 3³ and 9 as (3²)
Write as
remove the parentheses by multiplying the exponents:
Since the bases are the same, and they are positive
and not equal to 1, we may equate the exponents only
Edwin