Memory required for tags = no. of blocks * tag size
1024B = x * 16-bit
x = 512
Main memory size : 2^23 words can be represented in 23 bits
Tag + Set + Word = 23 bit
16 + Set + 6 = 23-bit
Set = 1bit
No. of sets = 2
n = No.of blocks / No. of sets = 512 / 2 = 256
(x,n) = (512,256)