"The anodes are placed in solutions of salt in compartments AA, and the cathodes in B. A layer of mercury…