see,
2X1 Mux for 2 input AND gate, will be only 1..
As For inputs,
00
01
10
11
for first 2, keep the selector line to 0 position, and for other 2 inputs, keep the selector line to 1 position, it will act as AND gate..
and for XOR gate also 1, 2X1 mux is required..