The observed circuit selects the wrong input for each selector value. Correct the mux so sel=0 routes a and sel=1 routes b.
The observed circuit selects the wrong input for each selector value. Correct the mux so sel=0 routes a and sel=1 routes b.