Answer:
x = 5
Explanation:
Corresponding sides are proportional, so we can write the proportion ...
(x -2)/x = (x +1)/(x +5)
(x -2)(x +5) = x(x +1) . . . . . . . multiply by x(x+5)
x^2+3x -10 = x^2 +x . . . . . eliminate parentheses
2x = 10 . . . . . . . . . . . . . . subtract x^2+x-10
x = 5 . . . . . . . . . . . . . . divide by 2