TeX source:
\underbrace{xy + xz}_{x\cdot (y + z)} + \underbrace{ay + az}_{a\cdot (y + z)} = x\cdot (y + z) + a\cdot (y + z) = (x + a)\cdot (y + z)