I know this is a programming site but I need to put two simultaneous equations

in to a program so my problem is really math,

My equations are y - 3x + 3 = 0 and y+2x - 3 = 0.

I need to solve them I know you need to eliminate

one of the variables first so I've tried to eliminate y by subtraction with wrong

results, I can't remember if I need to write the equations again in a different format,

Could someone please solve my equations and remind me of the method involved.

Thanks for all the help (leaner wanting to be a master).