Subtract the smallest number 45 from these six numbers, and the obtained numbers are respectively
6,4,20,0,8, 13
Only 13 is odd, the number of eggs is twice that of duck eggs, and the total number of eggs can only be even.
So 13 can only be duck eggs, and it is easy to know that 13+4=(6+20+0+8)/2.
So duck eggs should be 13+45=58, 4+45=49.