Hmm, this is an interesting problem. I believe maybe the use of trig identities would help but I'm not sure.
I doubt solving for A is necessary. Most likely I think that cos2A would pop up somehow. Not sure how though
Does anyone know how to do this? I also would like to know.