Complex sentence: The Japanese commander is said to have been extremely ruthless and he expected an attack by the Allies so he told the prisoners that if the ship was fired on he would order the guards to begin killing them.
Split into simpler sentences: The Japanese commander is said to have been extremely ruthless. Expecting an attack by the Allies, he told the prisoners that if the ship was fired on he would order the guards to begin killing them.