Solve the quadratic equation.

X^2 - 10x + 25 = 0

A. x = 5 or -5
B. x = 5
C. x = -5
D. no real solution

To solve the quadratic equation, we can use the quadratic formula:

x = (-b ± √(b² - 4ac)) / (2a)

For the equation x^2 - 10x + 25 = 0, we have a = 1, b = -10, and c = 25. Plugging these values into the quadratic formula:

x = (-(-10) ± √((-10)² - 4(1)(25))) / (2(1))
x = (10 ± √(100 - 100)) / 2
x = (10 ± √0) / 2
x = (10 ± 0) / 2
x = 10 / 2
x = 5

Therefore, the solution to the quadratic equation x^2 - 10x + 25 = 0 is x = 5. Thus, the correct answer is B. x = 5.