Hmm. I may have started you down a path that's more work. Try eliminating the trig functions. How, might you ask? By solving each equation for the trig function, squaring everything in sight, adding one to the other to get 1. So, for example,

Then, set ,

and solve for S. I think that might be easier.