Answer: 76 rows.
Explanation:
The gardener has 5770 plants.
Now, suppose that he plants M rows of plants, such that each row has N plants on them
Then the total number of plants is M*N
And he wants to have the same number of rows that plants in each row, then:
M = N
Then the total number of plants is M*M = M^2
Now we know that he falls short by 6 plants, then we have the equation:
M^2 = his total number of plants + 6 plants
M^2 = 5770 + 6 = 5776
We can solve this for M, as:
M = √(5776) = 76
This means that the gardener wants to make 76 rows.