In det(A) multiply by a,b,c in R1,R2,R3 respectively.
⇒det(A)=1abc∣∣
∣
∣∣aa2abcbb2abccc2abc∣∣
∣
∣∣
Taking abc common from C3
det(A)=∣∣
∣
∣∣aa21bb21cc21∣∣
∣
∣∣
Interchanging column C1 and C2 followed by C1 and C3, we get
⇒det(A)=∣∣
∣
∣∣1aa21bb21cc2∣∣
∣
∣∣=det(B)
⇒det(A)−det(B)=0