Boron is in Group 3A, so it will typically lose 3 electrons to achieve a noble gas configuration. Bromine is in Group 7A, so it will typically gain 1 electron to achieve a noble gas configuration. Therefore, one atom of Boron will react with three atoms of Bromine, giving a ratio of 1:3 in the compound.