For the equation y = 2x + 4, find the value of y when x = 2.