x+y+z=2

4x+5y+2=12
2x=4
solve using substitution

Well solve 2x=4 so x=2

I am sure you can figure it out from there....