According to Wolfram you forgot the constant of integration:
The only real question I have is in the third line you've automatically assumed that when multiplying by x^2/x^2
It will still be undefined when x=0. It would be fine if 0 wasn't in the original domain but because it is you're still potentially dividing by 0. This means that x=0 is a potential solution. In your equation let then
You can do it if you exclude 0 from the domain