The cost for class trip is $5 per student plus$100 for the bus.

Input(x) rule output(x)
18
22
24
30

2 answers

out = 100 + 5*in
18รท5+100=136