The text describes Blackbeard's tactics: "They often leamt a ship's nationality and then raised that country's flag in order to appear friendly. This way Blackbeard's ship could get close to the other ship."
This directly supports option D.
Answer: D showing the same flag as the other ship