A boat sails 150km on a bearing of 042degree and then 250km due east.how far is the boat from the starting point?

Looks like the bot just added up the 2 distances.

How totally absurd!!!!!

using vectors:
(x,y) = (150cos42, 150sin42) + (250cos180, 250sin180)
= (111.47, 100.37) + (-250, 0)
= (-138.53, 100.37)

dist = √(-138.53^2 + 100.37^2) = 171.07 km

Using the cosine law:
d^2 = 150^2 + 250^2 - 2(150)(250)cos 42°
= 85000 - 55735.866
= 29264.138..
= 171.07 km, just like the other solution

The boat is 350km from the starting point.