The cost of holding a party at a rollerskating rink is a function of ra, the number of people in the party. The cost function C, can be represented with this set of rules: C(n) = 150, 0

Given that 15 is between 12 and 20, then the cost of a party with 15 people is $260
Given that 25 is between 20 and 30, then the cost of a party with 20 people is $400