Would y=2 be the equation for the line that has the co-ordinates (0, 2) and is parallel to the x-axis?

im not exactly sure, please help and explain?

Yes