You can
put this solution on YOUR website!y=2x-2
y=x+2 subtract these equations
-----------------------
0=2x-x-2-2
0=x-4
x=4 answer.
y=2*4-2
y=8-2
y=6 answer. (4,6)
---------------------------------
solving graphically we get:
y=2x-2 (red Line)
y=x+2 (green line)

(graph 300x200 pixels, x from -6 to 5, y from -10 to 10, of TWO functions 2x -2 and x +2).