Let `0 lt=thetalt=pi/2 and x=X cos theta+Y sin theta, y=X sin theta-Y cos theta` such that `x^2+2xy+y^2=aX^2+bY^2,` where a and b are constant, then
A. `a=-1,b=3,theta=(pi)/(4)`
B. `a=1,b=-3,theta=(pi)/(3)`
C. `a=3,b=-1,theta=(pi)/(4)`
D. `a=3,b=-1,theta=(pi)/(3)`