The entrance fee to a fair is $12. Rides cost $4. The total cost, C, as a function of the number of rides, R, is given by C = 4R + 12