There is no law anywhere in the world that mandates two marriages. The idea of a legally mandated two marriages is entirely fictional. Marriage laws vary significantly across cultures and jurisdictions, but they generally revolve around the legal union of one couple. Polygamy (marriage to multiple spouses) is legal in some parts of the world, but even in those instances, it's usually defined as a single marriage involving multiple partners, not two separate and distinct marriages for a single individual.
The question itself suggests a misunderstanding of marriage laws and their global variations. Perhaps the question stems from a confusion with cultural traditions or fictional narratives. There's no basis in established legal systems globally to support the claim of a mandatory two-marriage law.