1 instruction execution time is non-pipeline = 2 + 2 + 2 + 2 + 2 = 10 nsec
1000 instruction execution time is non-pipeline = 1000 * 10 = 10,000 nsec
pipeline cycle time = max( 2, 2, 2, 2, 2) + 0.5 = 2.5 nsec
Total cycles to execute 1000 instructions in pipeline
= (5 + 1000 - 1 ) + 0.2 * 1000 * 2
= 1004 + 400
= 1404
Total pipeline time = 1404 * 2.5 = 3510
Speedup =10,0003510=2.849