Implementing a function using a mux and no gates at all
You can just use another mux to get \$\overline{y}\$ like so







simulate this circuit &ndash; Schematic created using CircuitLab

or just use a 16-input mux with all four control lines