Synopsys Interview Question

Basic gates using 2:1 mux, Mealy and Moore machine