So fluorine and bromine are halogens and when you work out the Lewis dot structure you'll see that they each have one unpaired electron, therefore these unpaired electrons join together to form one bond.
The answer is (4) at the cathode, where reduction occurs. The Na+ gains one electron and become Na(l). So the reaction occurs at cathode and is reduction reaction.