Potassium bromide is KBr, the atomic mass of this compound is ca. 119.1. no.moles = mass/relitive molecular mass, so in this case that's 245/119.1 = 2.057 moles of KBr.
The formula for calcium bromide is CaBr2. This ionic compound is composed of one Ca2+ ion, and two Br- ions, for a total of three ions per formula unit.