Maggie has a job working in an office for $ 10 $10 an hour and another job driving a tractor for $ 12 $12 an hour. One week she works in the office twice as long as she drives the tractor. Her total income for that week is $ 416 $416. How many hours did she spend at each job?