Tyler works at an appliance store.  He gets paid a salary of $500 a week, plus commission.  He gets paid 5% in commission for the first $1000 in sales and 7% commission for sales over $1000.  Last week, he sold $3500 in appliances.  How much money did he make last week?