We know that after 1 hour of driving, Katie had 6.75 gallons of gas. Also, after 6 hours of driving, she had 1.5 gallons left.
Part A
We can write these values as coordinate points, on the form:
Thus, the phrase: "after 1 hour of driving, Katie had 6.75 gallons of gas." can be represented as the point:

And: "After 6 hours of driving, there was only 1.5 gallons left" will have the point:

Part B
With this in mind, we can find the slope of a linear function that passes through those two points. Then,

Thus, the slope is -1.05.
Part C
Now, we will write a linear equation that relates g and h. As we already have the slope, we can use it to find the y-intercept as:

This means that an equation for g in terms of h is given by:

Part D
For this part, we will use the linear equation we obtained for getting how gas she will have left after driving for 3 hours. As such, the value of h will be 3, and we replace on the function to obtain:

This means that Katie will have 4.65 gallons left after driving for 3 hours.