Selec interview question

Draw a multiplexer using gates and explain the same