The gas used by a car on a road trip can be found using the function g(d) = 4d - 7,
where d is the distance traveled. The distance traveled by the same car at a given
time, t, can be found using the function d(t) = 2t+4. What is the amount of gas used by
a car on a road trip as a function of time?