Mynode1 is an array which contains two integer each.
Mynode1[0] contains a1,a2
Mynode1[1] contains a1,a2
Mynode1[2] contains a1,a2………..
So, 1st miss occur while accessing Mynode[0].a1 & because of this miss a cache block will be fetched and each cache block can hole 8 Mynode array elements as each Mynode array element has size of 8 Bytes & Cache line size is 64 Bytes.So due to 1st miss we’ll have Mynode[0] to Mynode[7]. similarly for next miss we’ll have Mynode[8] to Mynode[15].
So Total number of misses for Mynode array is = $\frac{10000}{8}$ = 1250 = $n_{1}$
Now Mynode2 is a single variable which contains two different array a1 & a2 of size 10,000
now, a1[0] to a1[15] will come
a2[0] to a2[15], a1[16] to a1[31], a2[16] to a2[31] …………….
Because of Fully associative cache any cache block can be replaced.
So, cache miss occur for both array = $\frac{10000}{16}$ * 2 = 1250 = $n_{2}$
$n_{1}$ – $n_{2}$ = 0