I got this question wrong, the answer in the gray box is the correct one but I would like it to be worked through, so I know what I did wrong, thank you!

see the figure below to better understand the problem
Find out the distance traveled by Andrea after 6 hours
Multiply the speed by the time
so
190*6=1,140 miles
Find out the distance traveled by Carlos after 6 hours
240*6=1,440 miles
For this problem, you must apply the law of cosines, because we know the length sides of two sides of the triangle and the included angle. You need to calculate the length of the third side
Applying the law of cosines
[tex]c^2=a^2+b^2-2(a)(c)\cos (C)[/tex]where
a=1,140 miles
b=1,440 miles
C=130 degrees
substitute
[tex]c^2=1,140^2+1,440^2-2(1,140)(1,440)\cos (130^o)[/tex]c=2,341.7 miles
therefore