How do you simplify (x^2+5x)/(2x)?

$= \frac{x \cdot \left(x + 5\right)}{2 x}$
$= \frac{x + 5}{2}$ ( we divide by $x$ both numerator and denominator to simplify )