Their values are represented on a straight line. There are infinite pairs of x and y on that line.
To draw the graph you need to know any two points. You can substitute x or y with any number and find the other variable, then connect these two points with a straight line.