size of physical address is of 40 bit size of block is 4*32 16 way set associative so
28tag bit 8line and 4 blockoffset
so we consider on 9 bit of the given address(28+8=36/4=9) so since 16ways set associative
1,2,3 one compulsory miss
4,5,6 hit
7,8 miss
9 hit
total =3+2=5