A=∣∣ ∣∣a+xa−xa−xa−xa+xa−xa−xa−xa+x∣∣ ∣∣
R1→R1+R2+R3
A=∣∣ ∣∣3a−x3a−x3a−xa−xa+xa−xa−xa−xa+x∣∣ ∣∣
A=3a−x∣∣ ∣∣111a−xa+xa−xa−xa−xa+x∣∣ ∣∣
C2→C1−C2
C3→C1−C3
A=3a−x∣∣ ∣∣100a−x−2x0a−x0−2x∣∣ ∣∣
|A|=(3a−x)×4x2=0
Thus, x=3a and x=0 only solutions