I’m assuming you mean barium nitrite, Ba(NO2)2.
First convert grams of Ba(NO2)2 to moles using the molar mass of Ba(NO2)2. Then use the mole ratio of 4 moles of oxygen per 1 mole of Ba(NO2)2 to convert to moles of oxygen. Then use the molar mass of oxygen to convert to grams of oxygen.
45.7 g Ba(NO2)2 • 1 mol Ba(NO2)2 / 229.35 g Ba(NO2)2 • 4 mol O / 1 mol Ba(NO2)2 • 16.0 g O / 1 mol O = 12.8 g oxygen
<span>0.0292 moles of sucrose are available.
First, lookup the atomic weights of all involved elements
Atomic weight Carbon = 12.0107
Atomic weight Hydrogen = 1.00794
Atomic weight Oxygen = 15.999
Now calculate the molar mass of sucrose
12 * 12.0107 + 22 * 1.00794 + 11 * 15.999 = 342.29208 g/mol
Divide the mass of sucrose by its molar mass
10.0 g / 342.29208 g/mol = 0.029214816 mol
Finally, round the result to 3 significant figures, giving
0.0292 moles</span>
LiBr.
<h3>Explanation</h3>
Note that the group number in this answer refers to the new IUPAC group number, which ranges from 1 to 18. Counts from the left. Start with the first two column (group 1 and 2), go on to the transition elements (Sc, Ti, etc. in group 3 through 12), and continue with the nonmetals (group 13 through 18).
Li is a group 1 metal. As a metal, it tends to form positive ions ("cations"). Metals in group 1 and 2 are <em>main group</em> metals. The charge on main group metal ions tends to be the same as the group number of the metal. Li is in group 1. The charge on an Li ion will be +1. Formula of the Li ion will be
.
Br is a group 17 nonmetal. As a nonmetal, it tends to form negative ions ("anions"). The charge on nonmetal ions excepting for H tends to equal the group number of the nonmetal minus 18. Br is in group 17. The charge on a Br ion will be 17 - 18 = -1. Formula of the Br ion will be 
All the ions in an ionic compound carry charge. However, some of the ions like
are positive. Others ions like
are negative. Charge on the two types of ions balance each other. As a result, the compound is <em>overall</em> neutral.
1 × (+1) + 1 × (-1) = 0. The positive charge on one
ion balances the negative charge on one
ion. The two ions would pair up at a 1:1 ratio.
The empirical formula for an ionic compound shows all the ions in the compound. Positive ions are written in front of negative ions.
is positive and
is negative. The formula shall also show the simplest ratio between the ions. For the compound between Li and Br, a 1:1 ratio will be the simplest. The "1" subscript in an empirical formula can be omitted. Hence the formula: LiBr.