Every positive number has two square roots, one positive and one negative:
For solving the given expression, as 125 is not a perfect square the solution for x is both a negative and a positive:
To know when do you assign a +/- to the answer you use the contex of the equation, e.g: if x is a distance it can not be negative so the solution is the positive one.
You can also simplify the square root of 125 as follow:
Prime factorization of 125: