Shouldn't the answer be 8*1 + 1*7 = 15?
The first instruction will take 8 clock cycles, since the length of pipe stage should be equal to the longest stage. Post that, in case of an ideal pipeline, every instruction takes one more clock cycle and we have 7 more instructions if we have to repeat it twice.
So, 8 clock cycles for the first and 7 for the next seven, giving 15 clock cycles.