For angle " a " in QII,
sin(a) = = = = = (positive value).
For angle " b " in QII,
cos(b) = - = - = - = - = - (negative value).
Now use cos(a+b) = cos(a)*cos(b) - sin(a)*sin(b).
Substitute the values into the formula and calculate.
cos (a + b) = cos (a) cos (b) - sin (a) sin (b)
From above, it's obvious that we need cos (b) and sin (a).
Given , and that ∡a is in the 2nd quadrant, we should realize that we're dealing with a 3-4-5 PYTHAGOREAN TRIPLE, which means that .
Likewise, given , and that ∡b is in the 2nd quadrant, we should realize that we're dealing with a 5-12-13 PYTHAGOREAN TRIPLE, which means that .
We now have: