Multiplexers and Decoders

Choose one signal from many, and switch on one output from a number. Then make a multiplexer act as any gate.