I guess you can write the whole thing down as a simultaneous equation involving the various angles and radii (or x,y,z values). But I suspect there is no simple "rule of thumb" because, at a glance, it looks like you're dealing with a solution of greater than cubic complexity. And those only have closed form solutions in limited cases.
All the best,
Tim
All the best,
Tim