The amount of money spent at a gas station varies directly with the number of gallons purchased. When 15.5 gallons of gas was purchased , the cost was $48.67. What is the cost for 9 gallons of gas?