We can instantly discard option 4, since the domain of both lines is (-infinity,1] and (1,infinity), as we can see in this graph both lines end at x equals 0.
Let's find the corresponding value of y for each line when x equals 1 to see which of the plots is the one we want.
y1(1)=3(1)-2=1
y2(1)=1+2=3
Then, as we can see the correct answer would be the plot A, since for the line that has the domain (-infinity,1] when x equals 1 y must be equal to 1 and for the lines that has the domain (1,infinity) when x equals 1, the y equals 3.