I am doing integration by parts and am struggling a little bit with two revision questions:

The first is:

1) \int cos(2x).(5x+1).dx

The answer I have is - (5x+1)sin2x/2+5/4cos2x

Is this right although I am not sure how I got there.

The other question is a Definite Integral:

2) \int (x+2)sinx.dx and the limits are 1 and 2

I just can't seem to get the right indefinite integral to be able to replace x with the limits.

The answer I get is (x+2)(-cos(x))+sin(x) but when O replace x with the upper and lower limit I get the wrong answer.

Can anyone please help me.

Thanks

M