What is an equation of a line that has a slope of -1/2 and a y-intercept of 4

A. y= 1/2x + 4
B. y= -1/2x +4
C. y= -1/2x - 8 (not neg.)
D. y= 1/2x - 4 (not neg.)