The total cost C (in dollars) to participate in a ski club is given by the literal equation C=85x+60, where x is the number of ski trips you take.

a. Solve the equation for x.

b. How many ski trips do you take if you spend a total of $315? $485?