One major error: the integral of is NOT as you can see by differentiating. Instead write it as . Integrating gives .
Personally, from , I would have left the "2" where it is: . Integrating both sides, so that (I have dropped the absolute values because "c" can be positive or negative itself).