(this is 12 year old math)
the price of a visit to the dentist is calculated according to the formula 50+100n where n is the number of cavities the dentist finds. On your Last visit to the dentist, 2 cavities we're found.
what's the cost of your visit?