Annie works as both a carpenter and a blacksmith. Last week she worked 12 hours as a carpenter and 20 hours as a blacksmith and earned a total of $860. This week, she worked 6 hours as a carpenter and 26 hours as a blacksmith. Her pay this week was $830. How much does she get paid per hour for each job?