I have 3 functions of the same form, $x(p, q)$, $y(p, q)$, and $z(p, q)$ for which I am trying to evaluate $p$ and $q$. I know that $x+y+z=0$. I know I need to express p and q in terms of each other, but as you can see below, the three functions together are quite complex. I've been futzing around with trig identities to try and isolate either variable, but am stuck. Perhaps fresh eyes will help; can anyone here see a way forward?
All values are known, except $p$ and $q$.
$x(p,q) = [v_{1x} \cos(p)-u_{1x}\sin(p)][(C_{2x}+u_{2x}\cos(q)+v_{2x}\sin(q))-(C_{1x}+u_{1x}\cos(p)+v_{1x}\sin(p))]$
$y(p,q) = [v_{1y}\cos(p)-u_{1y}\sin(p)][(C_{2y}+u_{2y}\cos(q)+v_{2y}\sin(q))-(C_{1y}+u_{1y}\cos(p)+v_{1y}\sin(p))]$
$z(p,q) = [v_{1z} \cos(p)-u_{1z}\sin(p)][(C_{2z}+u_{2z}\cos(q)+v_{2z}\sin(q))-(C_{1z}+u_{1z}\cos(p)+v_{1z}\sin(p))]$