Solve the equation in terms of y, so that it is in the slope-intercept form
[tex]\begin{gathered} 8x-2y=10 \\ -2y=10-8x \\ \frac{-2y}{-2}=\frac{10-8x}{-2} \\ y=-5+4x \\ y=4x-5 \end{gathered}[/tex]Since it is already in the slope-intercept form y = mx + b, where m is the slope. We find that m = 4.
Therefore, the slope of the function is equal to 4.