After handing over the cargo at a, the two cargo ships of a and B sailed to the East and west respectively. After 1 hour, ship a sailed 10 nautical miles and ship B sailed 8 nautical miles

After handing over the cargo at a, the two cargo ships of a and B sailed to the East and west respectively. After 1 hour, ship a sailed 10 nautical miles and ship B sailed 8 nautical miles

It's hard to pass the picture. I'll tell you
Take the origin as a place, the East is positive, the west is negative, and a unit length represents 1 nautical mile
Then the position of ship a is + 10 and that of ship B is - 8,
The distance between them is: 10 + 8 = 18