Holy cowsers, Tyronglia! Here we go! I'll give you another example.
If a car rental company charges $25 per day plus 10 cents per mile for each mile after 50 miles, what is the charge for driving 100 miles in one day?
We'll say that the total is going to be T. The number of miles we will call n.
So, T = the initial charge + the number of miles over 50 x the miles over 50
T = 25 + (100 - 50)(.10) = 25 + 50(.10) = 25 + 5 = $30 total charge.
I hope you can apply this to your problem. Good luck!