I belive this is the correct math.
The solution for Theta3 may be wrong, depending on whether or not we know the sum of all the angles. Someone double check this.