Question: is x or y first in coordinates?
Answer: Coordinates are written alphabetically - so x comes before y (x, y). One way to remember is 'you go along the hallway before you go up the stairs'.