Hi, I would really appreciate it if someone can help with this:

Let A denote the value of the integral

integral_0^(pi) cos(x)/ (x+2)^2 dx (From 0 to pi)

Compute the following integral in terms of A:

integral_0^(pi/2) (sinx cosx)/ (x+1) dx.

Thank you.