Nolan has already taken 3 pages of notes on his own, and he will take 2 pages during each hour of class. In all, how many hours will Nolan have to spend in class before he will have a total of 9 pages of notes in his notebook? Write and solve an equation to find the answer.​