pls answer the question i am mark in brainlist

Answer:
x = -2
Step-by-step explanation:
Given: [tex]\textsf{$\dfrac{x+3}{x+4}=\dfrac{x+5}{x+8}$}[/tex]
1. Cross-multiply
(x + 3)(x + 8) = (x + 5)(x + 4)
2. Distribute
⟹ (x + 3)(x + 8) = (x + 5)(x + 4)
⟹ x(x) + x(8) + 3(x) + 3(8) = x(x) + x(4) + 5(x) + 5(4)
⟹ x² + 8x + 3x + 24 = x² + 4x + 5x + 20
3. Combine like terms
⟹ x² + 8x + 3x + 24 = x² + 4x + 5x + 20
⟹ x² + 11x + 24 = x² + 9x + 20
4. Subtract x² from both sides
⟹ x² - x² + 11x + 24 = x² - x² + 9x + 20
⟹ 11x + 24 = 9x + 20
5. Subtract 24 from both sides
⟹ 11x + 24 - 24 = 9x + 20 - 24
⟹ 11x = 9x - 4
6. Subtract 9x from both sides
⟹ 11x = 9x - 4
⟹ 11x - 9x = 9x - 9x - 4
⟹ 2x = -4
7. Divide both sides by 2 to isolate the variable
⟹ 2x ÷ 2 = -4 ÷ 2
⟹ x = -2