so let R equal to the revenue of the company
x be the number of rides
since the cost per ride is $ 35
so the equation for revenue is
R = 35x
the profit can also be solve
profit = revenue - cost
profit = R - C
profit = 35x - 15x - 2000
profit = 20x - 2000