The cost C(in dollars) for the care and maintenance of a horse and carriage is C=15x+2000. the company charges $35 per ride. Write an equation for the revenue R in terms of the number of rides