Solve for the variables.
If this is a right triangle: tan(61) = x/12 ---> x = 12 · tan(61)
If this is a right triangle: cos(61) = 12/y ---> y = 12/cos(61)