Working his way through school, Joe works two part-time jobs for a total of 30 hours a week. Job A pays $5.90 per hour, and Job B pays $7.20 per hour. How many hours did he work at each job the week that he made $197.80? (Round to two decimal places if necessary.)