NVIDIA interview question

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