To find the molar mass of the compound AB2, we need to consider the contributions of the molar masses of elements A and B in the equation:
- The molar mass of A is given as 8 g/mol.
- The molar mass of B is given as 12 g/mol. Since there are 2 B atoms in the compound AB2, we need to account for this in the calculation.
Now we can calculate the molar mass of AB2:
\[ \text{Molar mass of AB2} = \text{Molar mass of A} + 2 \times \text{Molar mass of B} \]
\[ \text{Molar mass of AB2} = 8 , \text{g/mol} + 2 \times 12 , \text{g/mol} \]
\[ \text{Molar mass of AB2} = 8 , \text{g/mol} + 24 , \text{g/mol} \]
\[ \text{Molar mass of AB2} = 32 , \text{g/mol} \]
Therefore, the correct option for the molar mass of AB2 is 32 g/mol.