When thinking of Y-intercept always look at the point of where your line hits the y-axis so for this equation it is 4. Your slope is your raise over run, so for your graph it’s going from -2 and up to 4. The raise up two and the run is 1. For your equation it should be y=2x+4.