what is the value of x?

Answer:
x = 5
Step-by-step explanation:
In this figure with two similar triangles, corresponding edges are proportional. The proportion can be written several ways. One of them is ...
(x+5)/(x+1) = (x)/(x-2)
Multiplying by the product of denominators gives ...
(x -2)(x +5) = (x +1)(x)
x^2 +3x -10 = x^2 +x . . . eliminate parentheses
2x = 10 . . . . . . . . . . . . . . add 10 -x -x^2
x = 5 . . . . . . . . . . . . . . . . divide by 2