A piecewise function is a function that behaves differently in different intervals of its domain.
The piecewise function is:
Here the given information for the function is:
Then if we define x as the age of the person, the function f(x) that tells the cost of the ticket will be:
So as you can see, depending on the value of x and in which interval it belongs, the function behaves differently.
If you want to learn more, you can read:
https://brainly.com/question/12561612