slope-intercept form:
y = mx + b where m = slope and b = y intercept
given slope m = 5 , now you need to find b
passing thru (2,6)
using y = mx + b to find b
y = mx + b
b = y - mx
b = 6 - (5)(2)
y = 6 - 10
y = -4
Now you know m = 5 and b = -4
Equation:
y = 5x - 4