4 memory reference per instruction.
total 1000 mem reference
so total instrucions are 250.
now, avg stall/instruction = (misses in L1/instruction )* hit time in L2 + (misses in L2/instruction) * miss penalty in L2
= (150/250)*50 + (100/250)*120
= 78 cycles/instruction