A function that would show y varies directly with x is one where as y increases, x would, likewise as y decreases, so does x. A straight line would suit this. All of these are straight lines, but y=0x will not work.
y=x is the best answer as they are the same value. and it goes through the origin of (0,0). To have it vary directly it must pass through the origin.