A can finish a work in 18 days and B can do the same work in 15 days. B worked for 10 days and left the job. In how many days A alone can finish the remaining work? Tom takes 3 days to do a work while jerry takes only 1 day for the same. They both can do it in 15 days. In how many days Tom will finish the work?