Solve 2x -4y =-4 and 2x-2y =0

Subtract the second equatin from the first. You end up with

-2y = -4,
which means y = 2.

Your second equation tell you that x = y. Problem solved.