The difference formula: sin(a-b) = sin(a) cos(b) - cos(a) sin(b) is helpful here.
To use it we will need cos(a) and sin(b).
The triangle associated with angle a is the 3,4,5 right triangle. From this we can see that cos(a)
will be either 4/5 or -4/5, but since we are told that a is in the second quadrant, we have cos(a) = -4/5.
The triangle associated with angle b is the 8,15,17 right triangle. Since b is in the first quadrant,
we see right away that sin(b) = 8/17.
Thus sin(a-b) = (3/5)(15/17) - (-4/5) (8/17) = 77/(5 x 17)
By looking at cos(a-b), it could be figured out that a-b is in the second quadrant.