Check the final answer first, then review the worked steps.
$$\frac{25}{40} = \frac{5 \cdot 5}{8 \cdot 5} = \frac{5}{8}$$