X=y-4

3x+y=12

here

x = (-0/32767)-4 = -4

You know, "Someone," it is nice to want to help, but sometimes your answers are just gibberish, and of no use at all.

since x = y-4, use that to get
3(y-4)+y = 12
3y-12+y = 12
4y = 24
y = 6
so x=y-4 = 2