A movie theater sells child and adult tickets. Adult tickets are for ages 13 and up and cost $15. Child tickets are for children under the age of 13 and cost $8. Which piecewise function best represents this scenario for cost given age, where x is the given age of a customer and f(x) is the cost of the ticket. (1 point)

1. f(x) = { 8 15 0 < x < 13 13 <x

2. f(x)=\begin{cases}x+8&0<x\le13\\ x+15&13<x\end{cases}

3. f(x)=\begin{cases}15&0\le x<13\\ 8&13\le x\end{cases}

4.° f(x) = { 12 8 < x < 15 1315 ≤ x

The correct piecewise function that represents this scenario for cost given age is:

f(x)=\begin{cases}15&13\le x \\ 8&0\le x<13\end{cases}