Given that the system of equations 3x + y = 124x + ay = 2 has integer solution (a is an integer), find the value of A Pay attention to the topic, answer quickly, in a few minutes!

Given that the system of equations 3x + y = 124x + ay = 2 has integer solution (a is an integer), find the value of A Pay attention to the topic, answer quickly, in a few minutes!

From 3x + y = 12: y = 12-3x
Substituting 4x + ay = 2:
4x+a(12-3x)=2
The results are as follows
(4-3a)x=2-12a
∴x=(2-12a)/(4-3a)
=4-14/(4-3a)
Ψ 14 / (4-3a) is an integer
4-3a = 1 or 2 or 7 or 14
A = 1 or 2 / 3 or - 1 or - 10 / 3
∵ A is an integer
∴a=±1