Beth has 2 jobs and at her first job she earns $12.25 and worked 36 hours. At her second job, she earns $9.00 per hour and worked 12 hours. How much did she earn for both jobs?