Solve the equation about X: ax-6 = 3x and find the positive integer solution of the equation when a is an integer

Solve the equation about X: ax-6 = 3x and find the positive integer solution of the equation when a is an integer


ax-6=3x
(a-3)x=6
When a = 3, the equation has no solution
When a is not equal to 3, x = 6 / A-3
Because x is a positive integer
So A-3 = 1,2,3,6
a=4,5,6,9
In this case, X is 6,3,2,1 respectively