You can put this solution on YOUR website! solve triangle XYZ where angle X=40, x=12 and y=6
--------
sin(Y)/y = sin(X)/x
-----
sin(Y) = 6[sin(40)/12] = (1/2)sin(40) = 0.3214
----
Y = arcsin(0.3214) = 18.75 degrees
---
Z = 180-(18.75+40) = 121.25 degrees
==================
z/sin(Z) = x/sin(X)
z = sin(Z)[x/sin(X)]
z = 0.8549(12/0.6428) = 15.96
====================================
Cheers,
Stan H.