Remember, the expression that represents a line is:
where b, is the y-intercept and the x-intercept is when y=0
Isolating y:
The y-intercept is (0, 2)
The x-intercept is:
X-INTERCEPT=(3, 0)
The student error was that he substite x=0 for the x-intercept and y=0 for the y-intercept.