Prosecutors on Monday demanded 12-year prison terms for two Somalis being tried on charges of boarding and attempting to hijack a Bahama-registered oil tanker operated by a Japanese company in the Indian Ocean in 2011.