1 is CORRECT. Subsitution of the rightmost NAND gate by its equivalent symbol (an OR with two bubbles in the back), results in the schematic shown below. Observe that the bubbles between the blue and red gates can be cancelled, resulting in the output expression: F = AB + C + D.