Replacing one of the hydrogen atoms with a chain of one carbon atom and three hydrogen atoms produces methyl alcohol. The formula is CH4O. To get ethyl alcohol, one of the hydrogen atoms on the carbon chain that produced methyl alcohol is replaced by another carbon chain. The formula for this alcohol is C2H6O.