Is a(bc)=(ab)(ac)

No.

Try substituting numbers for the letters.