See answer below
Work Step by Step
With this analysis alone gasoline propels your car further and produces less carbon dioxide. PS. Carbon atoms in ethanol come from photosynthesis, therefore removing $CO_2$ from atmosphere in its conception before releasing it in combustion; gasoline just releases $CO_2$ to the environment.