It seems like the question should be "How many moles of CO2 will be produced with 2 moles of C2H6 (instead of C6H6)". In this case, we can set up a ratio based on the balanced equation.
Starting with 2 moles of C2H6 we can multiply (4 moles of CO2 / 2 moles of C2H6).
The 2 moles of C2H6 will cancel, leaving the answer of 4 moles of CO2.