There are multiple ways of thinking about this, but I'll do it in the way, given your solution, that it was "intended to be done".

You can factor out an x in the numerator of the fraction. So we have

Then you can cancel to get

which implies

Thus we have a contradiction, and there are no solutions.