A museum charges $6 per person for a guided tour with a group of 1 to 8 people or a fixed $54 fee for a group of 9 or more people. Write a function relating the number of people, n, to the cost, C.

C(n)={\displaystyle {C}{\left({n}\right)}={\left\lbrace\begin{array}{c} \\\\\end{array}\right.}   if 0<n<\displaystyle {0}<{n}<
  if n\displaystyle {n}\ge