How would you put this in an equation in slope intercept form? what would it look like?

X-intercept -4, Y-intercept -2

Would it be y=-1/2x+-2

y = mx + b

right