Did you integrate 1 to get x and differentiated the rest?
I find that students will commonly make this mistake when they do integration by parts. Over complicate the integral
Next, bang their heads on the wall
Then cry for help because they had a hard time with the question.