a, \(a\left(b+c\right)-b\left(a-c\right)\)
\(=ab+ac-\left(ab-bc\right)\)
\(=ab+ac-ab+bc\)
\(=ac+bc\)
\(=\left(a+b\right)c\)
b,\(\left(a+b\right)\left(a-b\right)\)
\(=\left(aa+ab\right)-\left(ab+bb\right)\)
\(=aa+ab-ab-bb\)
\(=aa-bb\)
\(=a^2-b^2\)