"problems like y=3x solve for y and its like y=? and x=0."

What's three times zero?

"4y-2x=18

solve for x and y"

If you want all possible solutions for x and y, heed Dennis's advice. If you want whole number solutions,

x = 1 - 2t

y = 5 - t

where t is any whole number.