Shell gas station is having a sale on diesel. If you buy 4\displaystyle {4} gallons or less, you pay the regular price of $3.89\displaystyle \${3.89} per gallon. If you buy more than 4\displaystyle {4} gallons, you pay $3.59\displaystyle \${3.59} per gallon. Write a piecewise function for the price of n\displaystyle {n} gallons of diesel at Shell.

D(n)={\displaystyle {D}{\left({n}\right)}={\left\lbrace\begin{array}{c} \\\\\end{array}\right.}   if 0<n\displaystyle {0}<{n}\le
  if n>\displaystyle {n}>