Perpendicular lines have gradients that multiply to give -1, so the gradient of the line you are looking for is -2. You know that (1, 3) lies on this line, so
$\displaystyle \begin{align*} y - 3 &= -2 \left( x - 1 \right) \\ y - 3 &= -2\,x + 2\\ y &= -2\,x + 5 \end{align*}$
And now you want to know where $\displaystyle \begin{align*} y = -2\,x + 5 \end{align*}$ and $\displaystyle \begin{align*} y = \frac{x}{2} - 5 \end{align*}$ intersect, so that you can work out the distance between this point and P(1, 3).