...I'm pretty sure you just did all the math...completely wrong, because there is no possibly way that you could make it so that a=b can become 2=1...unless I'm wrong here. Someone else good at math care to look this over @_@
Edit: Is the flaw in when you subtracted b^2? Cuz I have no idea why you did that or where b^2 even came from.