\(\dfrac{5x^2}{x^2+5x+6}=\dfrac{5x^2}{\left(x+2\right)\left(x+3\right)}=\dfrac{5x^2\left(x+5\right)}{\left(x+2\right)\left(x+3\right)\left(x+5\right)}\)
\(\dfrac{2x+3}{x^2+7x+10}=\dfrac{2x+3}{\left(x+2\right)\left(x+5\right)}=\dfrac{\left(2x+3\right)\left(x+3\right)}{\left(x+2\right)\left(x+3\right)\left(x+5\right)}\)
\(-5=\dfrac{-5\left(x+2\right)\left(x+3\right)\left(x+5\right)}{\left(x+2\right)\left(x+3\right)\left(x+5\right)}\)