Answer
Please see the work below.
Work Step by Step
We know that X rays when strike a crystal are reflected. After reflection some of the ways are out of phase and interfere destructively . However, at certain angles the waves will be in phase and will interfere constructively and will produce diffraction.