⟹√3x+1−√x−1=2⟹√3x+1=2+√x−1⟹(√3x+1)2=(2+√x−1)2⟹3x+1=4+(√x−1)2+2(2)(√x−1)⟹3x+1=4+x−1+4√x−1⟹3x+1−4−x+1=4√x−1⟹2x−2=4√x−1⟹(2x−2)2=42(x−1)⟹4x2+4−8x=16(x−1)⟹4x2+4−8x=16x−16⟹4x2−8x−16x=−4−16⟹4x2−24x=−20⟹4x2−24x+20=0⟹x2−6x+5=0⟹x2−5x−x+5=0⟹x(x−5)−1(x−5)=0⟹(x−5)(x−1)=0⟹x=1orx=5