To solve the exercise, let us see what are the coordinates of the points that form the figure before and after making the reflection:
As you can see the reflection of all the points has the form:
which occurs when the line of reflection is the line:
Therefore, the correct answer is option B.