Enable text based alternatives for graph display and drawing entry

Try Another Version of This Question

Shell gas station is having a sale on diesel. If you buy 6 gallons or less, you pay the regular price of $2.19 per gallon. If you buy more than 6 gallons, you pay $1.89 per gallon. Write a piecewise function for the price of `n` gallons of diesel at Shell.

` D(n)= {( ),( ),( ):}`   if `0<n ≤`
  if `n>`