Slope intercept form means y=mx+b where m stands for the slope, and b stands for the y-intercept.
They gave you the slope = 2/5 so we already know the m, and just need to find the b(y-intercept)
Plug in the m which is (2/5) as well as the (x,y) which is the (5,4) values into your equation (y=mx+b) and solve for b.
4 = (2/5)(5) + b --> (multiply 2/5 and 5)
4 = 2 + b --> subtract 2 from both sides
2 = b
Now that you have your m and b, you can plug these in to get your final answer
y = 2/5 x + 2