As we know by Kepler's law
Square of time period is always proportional to the cube of time period
it is given by

here we have
T1 = 3000 years
r1 = distance of comet
T2 = 1 year
r2 = 1AU
now by above equation we will have



so the distance of comet will be 208 AU.