It takes 7.5-8.5kWh of electricity to produce a gallon of gas.
It also takes a lot of natural gas, and a lot of water to produce both the natural gas and the oil, when fracking. Even more water and natural gas and electricity is used for tar sands bitumen. Oil has to be transported, and then it gets burned.
The overhead of energy embedded in gasoline is
far greater than for electricity.
These EV's cost between 2-3¢ per mile before the solar PV system was installed. Now, it is 50-75% less than that.
This heat pump hot water heater replaced an oil-fired heater that was costing ~$1,000 per year to run. This heater is also getting powered largely by the solar PV system, and also the central A/C for the house, as well.