Cyient Interview Question

desing and gate using mux