Let's look at the second problem. The vector i is the unit vector pointing in the x-direction as in the diagram.
So the line you want is the horizontal line (slope 0) that passes through (2,3). What is the equation of that line?
The vector j points in the y-direction so the line you want in the first question is vertical.