Answer:
Let C be the cost for the people staying
if n <= 2 ; C = $125
If n >2 ; C = $125 + $25 * (n-2)
Step-by-step explanation:
If the number of people is more than two, we need to add $25 for each of them.
Since n will be the number of people staying, we need to make sure that we substract two from this term to avoid overcharging the guests when there is less than two people.
So
(n-2) is the term that should be multiplied by a factor of 25.