Kelly is a teacher at a middle school. The class is working on writing an essay for a class project. Her essay will consist of 4 parts. Part 1 will last 1/3 of the essay. She needs to write 4 more pages for part 1 and 3 more for part 2. She estimates she has 2 pages left after completing Part 3. How many pages does Kelly write for the class essay?