solving an equation is different from computing with numbers. when you simplify an expression like the one given you go from inside to outside.
when you solve an equation you go from outside to inside.