y = x is a positively sloped line, meaning that it points to the right. It also has a y-intercept of (0,0).
y = -1/2x + 3 is a negatively sloped line, meaning that it points to the left. It has a y-intercept of (0,-3).
The correct graph is Graph A.
Hope this helps! :)