Calculate the simplest formula of the compounds formed in the

following reactions:
Please just check if I’m correct or wrong

a) 2.3 g of sodium reacting with 8.0 g of bromine

Na=23
Br=80

My answer:
NaBr