The basic principle about chemical reactions is that whatever goes in one end, will undoubtedly come out the other!
The simplest way to make sure your reactions are correct is to count what you have on each side. Your reaction needs to be balanced, meaning that the number of atoms needs to remain constant throughout. So, for example, if you have eight carbon atoms on one side, make sure you also have eight carbon atoms on the other side as well.