Dillon answered 80% of the questions on a quiz correctly. If he answered 40 questions correctly, what was the total number of questions on Dillon's quiz?