The constant of variation is the number that relates two variables that are directly proportional or inversely proportional to one another.
Because the amount of money varies directly with the amount of gas the constant of variation is the price per gallon
$21.87÷9 = $2.43
2.43 is the answer.