Lithium is atomic number 3, so it has valency 1
While, Bromine is atomic number 35, and has valency 1
Lithium has an extra electron while Bromine need an electron, since they both need and have one electron, the form
LiBr (Lithium Bromide) where Li is +ve charged and Br is -ve charged
Happy to help :)