y=6 is a horizontal line with a constant value of y-coordinate equal to 6 regardless of the value of x.
If the line is parallel to line y = 6 then it is also a horizontal line with a constant y coordinate regardless of the value of x.
Since the line goes through (2,3), the equation of that line must be y = 3.