Qualcomm Interview Question

Write verilog code for the 4 bit register? Develop a 3 input xor gate using 4:1 mux