Cirrus Logic Interview Question

Design logic using 2:1 mux