I need to solve for x in the equation:

9^(2x+1)=81(27^2)

I've tried various things, getting every answer but the correct one, which is 2. I have no idea how x=2 though.

Here's one of my (futile) tries:

9^(2x+1)=9^2(27^x)

x+1=27^x

1 = (27^xx)

Guidance through the proper steps would be appreciated, thank you!