Use prior knowledge to count the number of atoms/ elements in each compound. Don't forget the rules about coefficients and subscripts.