1. Simultaneous trig equations.

How can this system of 2 equation
{ $A.Cos(x)+B.Sin(x)=tan^2(x)-1$
{ $-A.Sin(x)+B.Cos(x)=tan(x)$

have the solution:
$
A=-Cos(x)$

$
B=Sin^3(x)/
Cos^2(x)
$

Note:The Second Solution is $Sin^3(x)$ divided by $Cos^2(x)$
Thanks for Help

2. See attachment

3. Thanks

Thanks Calculus it helped me