Dr. Jones charges a $50 flat fee for every patient. He also charges his patients $40 for every 10 minutes that he spends with him. If Mrs. Smith had an appointment that lasted 30 minutes, how much did she have to pay Dr. Jones?
$90
$120
$170
$200