5x - 6y = 39 - 2x,
4x + 6y = x + 5y + 31
By moving the x's and y's over to the lhs, the above system of equations reduces to,
7x - 6y = 39 ---- (1)
3x + y = 31 ----- (2)
from (2), y = 31 - 3x. Substitute for this into (1).
7x - 6(31 - 3x) = 39
7x - 186 + 18x = 39
25x = 225
x = 9
y = 31 - 3x = 31 - 27 = 4
y = 4