Jackson took a total of 12 pages of notes during 4 hours of class. In all, how many hours will Jackson have to spend in class before he will have a total of 18 pages of notes in his notebook? Assume the relationship is directly proportional.