x^2/(x sinx+ cosx)^2
= xcosx/(xsinx+cosx)^2 .secx.x
{here xcosx is the derivative of (xsinx +cosx)}
=d(xsinx+cosx)/(xsinx+cosx)^2 * (xsecx)
{integrating by parts taking xsecx as the first function}
= (xsecx) * (-1)/(xsinx+cosx) -[ ]
[ ] d(xsecx)/dx *(-1)/(xsinx+cosx) dx
= " " -
[ ]
[ ] sec^2 x *(xsinx+cosx) *(-1)/(xsinx+cosx) dx
= " " -
[ ]
[ ] -sec^2 x dx
= " " -tanx +c
was a gud one


keep posting such problems.
rate me if im correct.