From the Faraday's IInd law, we know that
$W \propto Z i t, \quad W \propto \frac{E}{96500} i t$
or it $\propto \frac{1}{E}$ or electricity $\propto \frac{1}{E}$
Thus, the amount of electricity required for $ZnSO _{4} AlCl _{3}$ and $AgNO _{3}$ is in the ratio of $2: 3: 1$.
(Here, $2,3$ and $1$ are the valencies of metal atom in the given compounds). Alternatively In $ZnSO _{4}$
Thus, the ratio of amounts of electricity required is $2: 3: 1$