a
Assume $\mathrm{M}$ cells are connected correct and $\mathrm{N}$ cells connected wrong.
$\mathrm{M}+\mathrm{N}=12$ ............$(1)$
$(M+2) E-N E=3 R \Rightarrow M-N+2=\frac{3 R}{E}$ ..........$(2)$
$\mathrm{ME}-(\mathrm{N}+2) \mathrm{E}=2 \mathrm{R} \quad \Rightarrow \mathrm{M}-\mathrm{N}-2=\frac{2 \mathrm{R}}{\mathrm{E}}$ ...........$(3)$
from eq $(1)$ and $(2)$
$-\mathrm{M}+\mathrm{N}+10=0 \quad \Rightarrow \mathrm{M}-\mathrm{N}=10$ .........$(4)$
$\mathrm{M}=11, \mathrm{N}=1$