Part a is fine. But in part b, you seem to be thinking that the integral of the square is the square of the integral. It is not. Try again.
There are other basic errors, but that's the one you need to fix. You really didn't do anything for c. We can work on that once you have b.