Functions A and B have the same y-intercept.
You get the y-intercept by plugging 0 into x.
So, in function A, you get: y = 0 + 2 = 2
In function B, the table gives you the value of y that corresponds to x=0: y = 2.
Hence, they have the same y-intercept.