You are supposed to minimize the area (v.g. $A=\frac{25}x$). One alternative is using calculus, another is observing if you can use a known inequality such as $\frac{25}x>0$ and observing that $\frac{25}x\to0$ when $x\to\infty$. This will make a very wide yet zero-depth pool, which is probably not the answer needed.
You have forgotten the pool's floor, now, adding all four sides of the pool and its floor you have: $$A=4xh+x^2,$$ and you can replace $h$ so you get: $$A=\frac{100}x+x^2$$ A know inequality is not likely here, so use calculus to get $x=\sqrt[3]{50}\simeq3.7$.