Adam solved the same number of problems each day, totaling 60 problems. If he had solved 6 more problems each day, he would have solved those problems in 5 days less. Calculate how many days Adam spent solving problems before his final exam and how many problems he solved each day.