First, let's expand the equation:
$x^2 + (10 - x)^2 = 58$
$x^2 + (100 - 20x + x^2) = 58$
Now, combine like terms:
$2x^2 - 20x + 100 = 58$
Subtract 58 from both sides:
$2x^2 - 20x + 42 = 0$
Now, let's divide the equation by 2 to simplify it:
$x^2 - 10x + 21 = 0$
Show more…