NVIDIA Interview Question

implement the function using simple gate f=(abc')'