According to one economic model, the demand for gasoline is a linear function of price. If the price of gasoline is p # $3.10 per gallon, the quantity demanded in a fixed period of time is q - 65 gallons. If the price is $3.50 per gallon, the quantity of gasoline demanded is 45 gallons for that period.
a) Find a formula for q (demand) in terms of p (price).
b) According to this model, at what price is the gas so expensive that there is no demand.