Access time of L1 cache=1 clock cycle
Access time of L2 cache =8 clock cycles
miss penalty of L2 cache to main memory=18 clock cycle
miss rate of L1 cache= 2 * miss rate of L2 cache
AMAT=2 cycles
Avg. Access time of L1 cache= access time of L1 cache+ miss rate of L1 cache=1+2 L2
Avg access time of L2 cache=access time of L2 cache+miss rate of L2 cache* miss penalty of L2 cache=8+18 L2
Acc to given equation
1+2 L2 +8+18 L2=2
L2= 0.35
L1=0.70