when balancing, you need to make sure that each side has the same number of each atom. The reason for this is to abide by the law of conservation of mass; essentially you can't have more or less than you put in the equation.
When you put the coefficients of C. into the equation you have a total of 2 carbon atoms on each side, 4 hydrogen atoms, and 4 oxygen atoms.