If we look at the formula for integration by parts,
f(x)g(x)dx=F(x)g(x)−F(x)g(x)dx
we see that if we choose f(x)=sinx and g(x)=x+1, then the factor g(x) will be differentiated to a constant on the right-hand side of the integral. Naturally, this presupposes that we can find a primitive function for f(x) (which we can) and that we can then integrate it. Let's try!