Interference pattern is observed at 'P' due to superimposition of two rays coming out from a source 'S' as shown in the figure. The value of 'l' for which maxima is obtained at 'P' is: (R is perfect reflecting surface)

The direct path traveled by the first ray is
For the second ray reflected from surface , let the point of reflection be .
The total path length of the reflected ray is
The geometric path difference between the two rays is
Reflection from the perfect reflecting surface (denser medium) introduces a phase change of , which is equivalent to an additional path difference of . The net path difference is
For constructive interference (maxima) at point :
Tagged Young's double slit experiment: fringe width and intensity. Machine-assigned, so read it as a strong shortlist rather than a verdict.