22. The admission rates at an amusement park are as follows.
Children 5 years old and under: free
Children between 5 years and 12 years, inclusive: $10.00
Children between 12 years and 18 years, inclusive: $25.00
Adults: $35.00
a) Write a piecewise function that gives the admission price for a given age.
b) Graph the function.