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 4 gallons or less, you pay the regular price of $3.59 per gallon. If you buy more than 4 gallons, you pay $3.39 per gallon. Write a piecewise function for the price of `n` gallons of diesel at Shell.

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