From the diagram: gate (1) is a NAND gate with inputs X and Y, gate (2) is a NOR gate with inputs Y and Z, and their outputs go into an OR gate giving F.
(1) $= (X \cdot Y)'$
(2) $= (Y + Z)'$
$F = (X \cdot Y)' + (Y + Z)' = X' + Y'$
1. Output of the NAND gate: (1) $= (X \cdot Y)'$
2. Output of the NOR gate: (2) $= (Y + Z)'$
3. The OR gate adds them: $F = (X \cdot Y)' + (Y + Z)'$
4. By De Morgan's laws: $F = X' + Y' + Y' \cdot Z'$
5. By the absorption law ($Y' + Y'Z' = Y'$): $F = X' + Y'$
6. By De Morgan's law this can also be written $F = (X \cdot Y)'$, so $F = X' + Y'$