Try going around the other (shortest) way.
340 + 20 gives you 360/000 then you have to add 100 to get to 100 degrees.
For what its worth, you can use Sin(240)x30 and the answer is -26 knots. If you remove the minus sign you end up with the same answer anyway.