Step 1: Diffraction pattern.
The angular width \( \theta \) of the first diffraction minima is given by the formula:
\[
\sin \theta = \frac{\lambda}{d}
\]
For small angles, \( \sin \theta \approx \theta \), so the angular width of the principal maxima is \( 2\theta \).
Step 2: Linear width of the maxima.
The linear width \( W \) of the principal maxima at a distance \( D \) from the slit is:
\[
W = 2 D \theta
\]
Using \( \theta = \frac{\lambda}{d} \), we get:
\[
W = 2 D \left( \frac{\lambda}{d} \right)
\]
Equating \( W \) with the width of the slit \( d \), we get:
\[
d = 2 D \left( \frac{\lambda}{d} \right)
\]
Solving for \( D \), we get:
\[
D = \frac{d^2}{2\lambda}
\]
Step 3: Conclusion.
The distance \( D \) is \( \frac{d^2}{2\lambda} \), so the correct answer is (C).