Using a linear function, it is found that the costs are given as follows:
A linear function is modeled by:
y = mx + b
In which:
Considering the price of admission and the price per ride, the y-intercept is of 20 and the slope is of 4, the cost for r rides is given by:
C(r) = 20 + 4r.
Hence, for 6 rides, the cost is given by:
C(6) = 20 + 4 x 6 = $44.
More can be learned about linear functions at https://brainly.com/question/24808124
#SPJ1