The diagram shows the position of three ships A, B and C at sea. B…