LET THE NUMBER OF ROWS BE X.
SHE WANTS NUMBER OF ROWS TO BE EQUAL TO THE NUMBER OF COLUMNS SO THE TOTAL OF STUDENTS STANDING = X*X = X2
BUT THEN 71 STUDENTS WERE LEFT OUT, SO THE STUDENTS STANDING = 6000-71=X2
5929 = X2
X = SQUARE ROOT OF 5929 = 77
THEREFORE THE NUMBER OF ROWS =X=77