Really stuck with these.. please help!
I presume that your triangles are rectangular.
So use the equations which define the sin- and cos-function:
I guessed the last number only, so may be you've to repair my equation a little bit.
To solve the equations should be of no trouble for you.