When we apply (x,y) → (x, k), the y-coordinate is replaced by the constant k. All points move onto the horizontal line y = k.