\(A=\frac{x^2}{x^2-5x+7}\Leftrightarrow Ax^2-5Ax+7A-x^2=0\)
\(\Leftrightarrow x^2\left(A-1\right)+5Ax+7A=0\)
\(\Delta=25A^2-28A\left(A-1\right)\ge0\)
\(\Leftrightarrow-3A^2+28A\ge0\Leftrightarrow3A\left(A-\frac{28}{3}\right)\le0\Leftrightarrow0\le A\le\frac{28}{3}\)