The pair of metals in the reactivity series that are usually extracted by the electrolysis…