For the school yearbook, the entire freshmen class is taking a picture together. The photographer arranges the students so that there are 12 students in the first row, 15 students in the second row, and 18 students in the third row. The photographer continues this pattern for all eight rows of students in the picture.