Answer
a. There is no x-intercept.
b. The y-intercept is $2$.
Work Step by Step
a. There is no x-intercept because the line is parallel to the $x$ axis and will never cross the $x$ axis.
b. The y-intercept is $2$ because the graph crosses the $y$ axis at $y = 2$.