You can solve a triangle if you have the length of two sides and one angle. This is O level maths' Label the angles A, B and C and the sides oposite to them a, b and c.
The formula is a/SinA = b/SinB = c/SinC
You have two sides, TAS 170 and Wind 30 and one angle - between hdg and wind direction
Good luck
Dick