What you did was akin to saying that $\dfrac{ab+ac}{ad}=\dfrac{b+ac}{d}$
The correct result should have been more along the lines of this:
$\dfrac{ab+ac}{ad}=\dfrac{a(b+c)}{ad} = \dfrac{a(b+c)}{ad}\cdot \dfrac{1/a}{1/a} = \dfrac{a(b+c)/a}{ad/a} = \dfrac{b+c}{d}$
In other words, if you are going to cancel something from numerator and denominator, you must cancel it from all terms which are being added simultaneously, not having forgotten any.
$\dfrac{3^{-m}3^{-2m+3}+27^{-m+2}}{81\cdot 3^{-m}} = \dfrac{3^{-m}3^{-2m+3}+27^{-m+2}}{81\cdot 3^{-m}}\cdot \dfrac{3^m}{3^m} = \dfrac{(3^{-m}3^{-2m+3}+27^{-m+2})3^m}{81\cdot 3^{-m}\cdot 3^m}$
$=\dfrac{3^{-2m+3}+3^m\cdot 27^{-m+2}}{81}$ which can continue to be simplified further if so desired
(continue by noting $81=3^4$ and $27=3^3$ so $27^{-m+2}=(3^3)^{-m+2}=3^{-3m+6}$...)