#6) Mary earned a weekly salary of $398 for the first 30 weeks of the year. She changed jobs and was paid a weekly salary of
$712 for the last 22 weeks of the year. What total gross pay did Mary earn for the year?