In a proportional relationship, the equation that relates the variables x and y is:
y = kx
where k is the constant of proportionality. Isolating k:
k = y/x
Using x to designate Gallons of Gas and y to designate Miles Driven, we can find k replacing with the point (4, 112) as follows:
k = 112/4
k = 28 miles/gallon