Since your question doesn't specify what form you need your answer in, I’ll answer in slope intercept form.
Slope intercept form looks like this: y = mx + b.
m represents slope, b represents y intercept. we already have the slope, 2. To find the y intercept, we can plug in the given values for x and y and solve for x.
y = 2x + b
5 = 2(8) + b
5 = 16 + b
- 11 = b
so, the y intercept is - 11. we can plug this into your equation.
y = 2x - 11
There you go! this is your final answer.