The manager of an office supply store can sell 10 boxes of pencils at a price of $2.19 per box. If the price is $1.70, she can sell 24 boxes. The total cost of buying x boxes of pencils is C(x)=0.55x+20 dollars.

Assuming the demand function is linear, find an equation for D(x). Do not round your answer.