Which is the constructive interference formula for diffraction grating problems?

dsin =
dcos =
dcos = n
dsin = n