Because we have been given the slope and y-intercept, we can create an equation in slope-intercept form.
y = mx + b
m = the slope
b = y-intercept.
In the first problem,
m = -4
b = 10
So, our equation looks like: y = -4x + 10
In the second problem,
m = 1/3
b = -6
So, our equation looks like: y = 1/3x - 6