In YDSE Imax=I0
Path difference at a point in front of one of shifts is
Δx=d(Dy)=d(D2d)=2Dd2 (Herey=2d)
Δx=2(10d)d2=20d=205λ=4λ
Path difference is
ϕ=λ2πΔx=λ2π(4λ)
ϕ=2π
So intensity at that point is
I=Imaxcos2(2θ)
I=I0cos2(4π)=2I0