Sam works at a used car dealership, where he earns 7% commission on each sale. If he sells a car for $12,000 and another for $17,500, how much commission does Sam earn?