So, let us clarify this a little:
First let us distinguish between pre-given constants and un-knowns by a more suggestive notation: let
Denote the constants:
So if I understand correctly we must solve the following system for :
Where I assume [Ixx],[Iyy],[q] are given values as well.