asinθ+bcosθ=c
(asinθ+bcosθ)2=c2
a2sin2θ+b2cos2θ+2ab sinθ cosθ=c2 --------(1)
Let, acosθ−bsinθ=x
Squaring both sides
(acosθ−bsinθ)2=x2
a2cos2θ+b2sin2θ−2ab sinθ cosθ=x2 ------(2)
Add equation (1) and (2),