You have cavities and you are looking for a cheaper dentist. Dentist A costs $50 for the visit and $20 per cavity. Dentist B costs $70 for the visit and $5 per cavity. When would Dentist B be cheaper than Dentist A?
Dentist B would be cheaper if you get 2 or more cavitys and it only for 1 visit, I solved this by doing 50+20x=y and 70+5x=B then you just use the same number for x to see