When solving (rather than merely simplifying), you have to account for all possible values. So while for simplifying, you need to use for solving.
So you actually have:
Subtract the 4 over to the right-hand side, and simplify to get the two values. They should match what you've been given.