In this example, we’ll show you how to write the formula for an ionic compound with a multivalent metal.