The answer is <span>

</span>
Complimentary angles: the angles added up equal 90 degrees
When you have complimentary angles, the sine of one equals the cosine of the other and vice verse
Q and P are complimentary
sin(Q)=cos(P)
cos(Q)=sin(P)
Since you know that sin(Q)=

, that also means that cos(P)=<span>

Since sin(Q) is </span>

, you can use the Pythagorean Theorem to find the length of the last leg.

<span>

</span><span>

</span><span>

</span><span>

</span>(It's a 3,4,5 triangle)
Now you have the length of the other leg so cos(Q)=

cos(P)+cos(Q)
=

=

The answer is