Need to help a friend on this and because did system ach. not so much...can't remember. I'll appreciate if anyone could help.

Here are the questions:
a) Explain the purpose of each MUX in the above diagram

sw $s5, 1000($t4), beq $t7, $t1, 100
Suppose it takes memory 100 nsec to read a word, the ALU and adders take 4
nsec, the register file can be read or written in 1 nsec, the PC can be read or
written in 0.2 nsec, and all multiplexors take 0.1 nsec. Assume everything else
takes 0 time (control, shift, sign extend, wires, etc.).
How long will it take to execute an add instruction?
How long will it take to execute a lw instruction?
How long will it take to execute a beq instruction?
How long will it take to execute a j instruction?
What would be the single-cycle CPU cycle time for the above scenario?
Thanks,toto7