5 is WRONG. Hint: Use the generic symbol of the NAND gate (OR symbol with bubbles on inputs) to see that the combination of the decoder and NAND gate sums minterms m3 + m7. Here is the circuit you should use:
__________ | | | 0|O-- | 1|O-- (Cancel bubbles) x--|C 2|O-- ______ y--|B 3|O--------O\ \ z--|A 4|O-- ) )----F(x,y,z) | 5|O-- +--O/_____/ 1--|E 6|O-- | | 7|O-----+ (Cancel bubbles) |________|