As I'm often saying, the math is good but not the assumptions.
*The price of regular gasoline since 2017 has averaged $3.22/gal in my relatively expensive state of Oregon. That trend holds true even back a decade. The $4.50 estimate is at least a dollar higher than reasonable.
*The average EV is driven 7,000 miles per year while the average ICE 10,200 miles.
*The average cost of electricity in the US is $0.1477 / kWh
Finally, we'll always have the "apples / oranges" problem to contend with. How much is having a tow rating worth? How much is differing interior volumes worth? How important is an AWD option? How much is rapid refueling worth? How much is starting out full every day from the garage worth?
All this leaves out the #1 cost of ownership for most people, and that is depreciation. Who knows how much value will be retained 5 years from now? Typically, EVs have depreciated more rapidly than ICE with the exception of Tesla. We would need to make big assumptions about this to estimate future cost.
The vehicle total cost of ownership spreadsheet I have linked in my signature is a way better tool for doing cost analysis because it attempts to factor in as many variables as possible.