The total interest earned is the difference between what you get out of the investment (its future value) and what you put into the investment (the series of equal deposits).
I = FV - n*Pmt = B9 - B3*B8