REF.Image.
Here ΔAOB is similar
to ΔCOD
because
∠CDO=∠OBA
∠DCO=∠OAB
Alternate interior angle an equal in ∥ lines
∠DOC=∠AOB (opposite angles are equal)
So its similar by (AAA)
(Angle Angle Angle ) criteria.
So ΔAOB∼ΔCOD
⇒AOCO=BODO
from similatrily properly
x+5x+3=x−1x−2
(x+5)(x−2)=(x−1)(x+3)
x2−2x+5x−10=x2−x+3x−3
3x−10=2x−3
x=7