What you want to do is plug each x into each equation.
for y = x, your y coordinates would be -2, -1, 0, 1, 2. For y = 2x, your coordinates would be -4, -2, 0, 2, 4, and so on and so forth.
After that, put the points onto the graph. For y = 2x, one point would be (4,2). On the horizontal graph, count 4 from the center, then 2 vertically, draw a dot, then go from there to make your line.