In Exam we can try this approach to know how exactly extra cc we needed
Suppose n=1 instr then (suppose it is the instr from the 40 instr set )
by pipeline formula = 5 + 1-1 = 5 cc but if
we actually passs this instr from pipline then it will take #cc= 7 cc
suppose n=2 instr then (suppose it is the instr from the 40 instr set )
by pipeline formula = 5 + 2-1 = 5 cc but if
we actually passs this instr from pipline then it will take #cc= 10 cc
if we try to genralise it then
for every instr from 40 instr set , there is 2 extra cc consumed .
means for this set there is extra cc needed = 40*2 = 80
now solve remaining part same like above.