The slope \(m\) and a point \((x_{0},\;y_{0})\) that the line goes through, give us a equation for the line:
\(y-y_{0}=m\cdot (x-x_{0})\\\\ y-2=\dfrac{5}{8}\cdot (x-8)\\\\\\ y-2=\dfrac{5}{8}\,x-\dfrac{5}{8}\cdot 8\\\\\\ y-2=\dfrac{5}{8}\,x-5\\\\\\ y=\dfrac{5}{8}\,x-5+2\\\\\\ \boxed{\begin{array}{c} y=\dfrac{5}{8}\,x-3 \end{array}}\)