Thanks Keith
I think your previous calculations were right. Perhaps I was mixing up two different modes of the E6B.
1) To find the W/V
Hdg 360
CRS 345
TAS 240
GS 285
W/V comes out to be 116/82
2) To find HDG and GS on reciprocal course
W/V 116/82
CRS 165
TAS 240
GS comes out to be 178
HDG comes out to be 150
Thus the wind component comes out to be TAS-GS (240-178) = 62kts Headwind.
3) There is another mode that calculates the X-wind and H-wind
For a W/V of 116/82
If you work it out with Course i.e. 165; H-wind component comes out to be -54 and X-Wind is 62 from the left.
If you work it out with Heading i.e. 150; H-wind component comes out to be -68 and X-Wind is 46 from the left.
Since we are maintaining the track and not letting the aircraft drift, we'll be heading into the wind so more headwind component. If we are not heading into the wind then less headwind component but more x-wind and the aircraft will drift.
I was using the course instead of headwind thats why the answers were different.