Maria wants to plant a small tomato garden in her yard. She bought 25 tomato plants, and she has read that ideally tomatoes are planted in a square grid to help them pollinate each other. How many plants x should she plant in each row so that her 25 plants end up in a square?