I have a question about logic gates.

I am wondering how to construct a logic circuit that makes its outputs c and d equal to its inputs a and b when a control is set to 0. If the control is set to 1, the outputs are flipped. I have had trouble constructing the circuit. Should I use and and nor gates? I have looked at flip flop circuits and have tried to determine if they are similar, but I am not totally sure.