Distrubtive law: A+ BC = (A+B) + (A+C) this is the basic formula
NAND GATE : A @ (B @ C) should be equal to (A @ B) @(A @ C)
where @ = NAND GATE
A @ (B @ C) = A @(B'+C')
= A + BC
(A @ B) @ (A @ C) = (A' + B') @ (A' + C')
= AB + AC = A(B + C)
Therefore, A @ (B @ C) != (A @ B) @ (A @ C).
Similarly , apply on NOR gate.
Finally , Distrubutive law is not applicable on NAND and NOR gates .