Explanation:
X= {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23}
P= {2,3,5,7,11,13,17,19,23}
Q= {2,4,6,8,10,12,14,16,18,20,22}
a= {2,3,4,5,6,7,8,10,11,12,13,14,16,17,18,19,20,22,23}
b= {2,}
c= we first find p'
p'={1,4,6,8,9,10,12,14,15,16,18,20,21,22}
c={4,6,8,10,12,14,16,18,20,22}
d=we do same here but we already have p' so we find for q'
q'={1,4,6,8,9,10,12,14,15,16,18,20,21,22}
d={1,4,6,8,9,10,12,14,15,16,18,20,21,22}