Omar is going to an amusement park. The price of admission into the park is $25, and once he is inside the park, he will have to pay $5 for every ride he rides on. How much money would Omar have to pay in total if he goes on 8 rides? How much would he have to pay if he goes on r rides?

Cost with 8 rides:
Cost with r rides:
Need answer quickly!