A diffraction grating having 180 lines/mm is illuminated with a light signal containing

two wavelengths, λ1 = 400 nm and λ2 = 500 nm. The signal is incident perpendicularly
on the grating. What is the smallest angle at which two of the resulting maxima are superimposed?
λ1=400nm=destructive?: 2t=1/2(λ/n)+(m)(λ/n)=?
λ2=500nm= constructive?: 2t=m(λ/n)=?
I think this is what im supposed to do but again I could be wrong.