There were two metals, Metal A and B. Both were extracted by means of electrolytic reduction of their molten salts. Metal A and B are:
Magnesium and aluminium
The oxides of highly electropositive metals like Na, K, Mg, Al cannot be reduced by using coke. Hence for them electrolytic reduction is required.