When you compare two things, you need to put them in the same units. Here, we'll use CO2 equivalents.
In chemistry, we usually use factor labelling to go from one extensive (how much stuff) variable to another. Let's start with 1 cow and 1 truck and see how much CO2 equivalents they produce in the same time. (since they are already giving the truck value in months (not a great unit as it varies in length of time) we will specify one month)
1 cow( 6 x 109 kg Meth/108 cows-year)(1yr/12 mos)(6 CO2 kg/1 CH4 kg) = kg/month CO2
1 truck(40.8 gal Gas/truck-month)(3.785 liter/ga)(1000 ml/liter)(.92 g Oct/100 g Gas)(1000 g/kg) times
the last term which is the kg CO2/kg Oct. We could go to moles and use the stoichiometry, but because you are given the reaction and all the C appears as CO2, we can connect grams to grams with the molar masses:
There will be 8 x MCO2 g of CO2/ MOct or 8(44.01) g CO2/114.23 g oct (note that because this is a mass ratio, it is true for kg as well. This will also yield kg/mo CO2
Please consider a tutor. Take care.