Perhaps you have to have some familiarity with the COLREGS (The International Regulations for Preventing Collisions at Sea 1972) but what Dave posted is straight forward enough.
Now another factor is that no vessel ever has an absolute right of way, indeed Rules 2 and 17 provide that you must take action to avoid a collision. As the mnemonic goes "To act as caution says is proper, Ease her, turn her, back her, stop her."
The theory that muslim extremists get hold of a fully loaded containership and rams a US Navy destroyer is beyond ridiculous. The chances of a large containership being able to purposely hit a US Navy destroyer is nil.
Think! If a US Navy destroyer is vulnerable to enemy containerships, the US Navy needs to revise many of their tactics.

