A sheep starts from o and sails 8km dud south and then 6km on a horse 20° east of south.how far is it from o.

either your typing or your dictation is terrible.

Draw a diagram, and you can see the the distance d you want is
d^2 = 8^2 + 6^2 - 2*8*6 cos150°