The price of a vist to the dentist is calculated according to the formula 50+100n where n is the number of cavities dentist finds.
On your last visit to the dentist, 2 cavities were found.
What was the cost of your visit?​