Final answer:
To calculate the number of rides, r, that you went on, subtract the cost of entering the carnival from the total amount you spent. Since the carnival costs $4.50 to enter, subtract $4.50 from the total amount of $13.50. Now, divide the remaining amount by the cost of each ride, which is $0.75.
Step-by-step explanation:
To calculate the number of rides, r, that you went on at the carnival, you need to subtract the cost of entering the carnival from the total amount you spent. Since the carnival costs $4.50 to enter, subtract $4.50 from the total amount of $13.50. This gives you $13.50 - $4.50 = $9.
Now, divide the remaining amount by the cost of each ride, which is $0.75. This will give you the number of rides, r. So, $9 ÷ $0.75 = 12. Therefore, you went on 12 rides at the carnival.
Therefore, the answer is D. r = 12.