Let x = number of rows and y = number of plants.
(x)*(y) = 576
Information provided says x is same as y thus we can state equation as the following
(x)*(x) = 576 or x^2 = 576
Solve for x, sqrt of 576 which is 24
x = y = 24. Therefore 24 plants in 24 rows