A function assigns each input one output, so no two points may share a first coordinate with different second coordinates.
(2,0) and (2,3) share input 2 with outputs 0=3
That violates the definition. Sharing an output, as in the other pairs, is perfectly fine.