Just refer the link here for actual working:
Avg TLB access time
= 0.95 * (TLB access time + Avg cache access time)
+ 0.05 * ( TLB access time + Access page table + avg cache access time) ............(1)
Avg cache time
= 0.9 * (cache access time )
+ 0.1 * ( cache access time + avg M.M access time) ....................(2)
Avg M.M access time
= 0.99 * (M.M access time)
+ 0.01 * (M.M access time + hard disk access time)
= 0.99 * (5) + 0.01* (5+100)
= 6 cycles ......................(3)
From (2),
Avg cache time
= 0.9*( 1 ) + 0.1*( 1 + 6 )
= 1.6 cycles ................(4)
from (1),
Avg TLB access time
= 0.95*( 1+ 1.6 ) + 0.05*( 1 + 5 + 1.6 )
= 2.85
$\approx$ 3 cycles