The relation between Gibbs Free energy and emf of the cell can be related as follows,
ΔG=−nFEcell
The electrode reactions can be written as follows,
Pb2++2e−→PbΔG1=−2FEPb2+/Pbo
Pb4++4e−→PbΔG2=−4FEPb4+/Pbo
Pb4++2e−→Pb2+ΔG3=−2FEPb4+/Pb2+o
Now, ΔG3=ΔG2−ΔG1
−2FEPb4+/Pb2+o=−4FEPb4+/Pbo+2FEPb2+/Pbo
⇒4EPb+4/Pbo=2EPb+2/Pbo+2EPb+4/Pb+2o
⇒4n=2m+2EPb+4/Pb+2o⇒EPb+4/Pb+2o=2n−m⇒EPb+2/Pb+4o=m−2n
Hence, the value of x=2