1.) If each stage is 1 clock cycle, calculate the number of clock cycles to execute a code stream of 10 instructions in a non-pipelined (i.e. sequential) fashion?

2.) Repeat part 1, assuming the instructions are executed in a pipelined fashion.

Would this be the right formula to use in this case: T = I * CPI * C
I am still kind of lost in this, if anyone can help that would be great.