Matt sells computer parts part-time and is paid a monthly commission based on his sales. He receives 5% of his first $3,000 in sales and 10% of the balance of his sales. Last month, he sold $14,500 worth of parts. How much commission did he earn last month?