If acos^2x + bsin^2x = c, then tan^2x in terms of a,b and c is given by?

Okay, this obviously involves an identity but the only one i can see to use is cos^2x + sin^2x = 1, but that assumes that a and b are of the same value. can someone guide me on the right track?