Please solve this, the answer is :4 and 25. I would like a step by step explanation please

Answer:
steps below
Step-by-step explanation:
x -7√x + 10 = 0
(√x)² - 7√x + 10 = 0
(√x - 2)(√x - 5) = 0
√x - 2 = 0 or √x - 5 = 0
√x = 2 or √x = 5
(√x)² = x = 4 or (√ x)² = x = 25 ...