Check the final answer first, then review the worked steps.
$$\frac{1}{2} = \frac{1 \times 5}{2 \times 5} = \frac{5}{10} \implies x = 5$$