You can put this solution on YOUR website! Slope = m = 4-2/4-4 = 2/0 = undefined slope (cannot divide by zero).
Since the slope is undefined, the line is vertical and x will be a constant number. If the line were horizontal, y would be a constant number.
.
In both of the given points, (4, 4) and (4, 2), x = 4.