Bunuel
Students of a class are made to stand in rows. If 2 students are extra in a row, there would be 1 rows less. If 2 students are less in a row, there would be 2 more rows. Find the number of students in the class.
A. 44
B. 26
C. 24
D. 22
E. 20
We start with x students per row and y rows, so we have xy students.
If we add two students per row, we subtract one row, so (y-1)(x+2) = xy.
If we subtract two students per row, we add two rows, so (y+2)(x-2) = xy.
(y-1)(x+2) = xy
If x = 0, y = 1 ... (0,1)
If y = 0, x = -2 ... (-2,0)
Plot the line that passes through those two points.
(x-2)(y+2) = xy
If x = 0, y = -2 ... (0,-2)
If y = 0, x = 2 ... (2,0)
Plot the line that passes through those two points.
We need where they intersect. Sure looks like (6,4). Let's confirm:
4 rows of 6 students.
3 rows of 8 students.
6 rows of 4 students.
Okay!
Answer choice C.