Hello,
Let's assume a the number of miles done by the 1 vehicule (35 mi/gal)
2025-a is the number of miles done by the 2nd vehicule (20 mi/gal)
The gas consumption of the 1 vehicule is 1225/35=35 (gallons)
The gas consumption of the 2 vehicule is 75-35=40 (gallons)