Condition for maxima is given by path difference and phase difference.
Here path difference is calculated by drawing perpendicualr on AB,
So, path difference from fig will be,
For maxima path difference should be =nλ where, =0,1,2,3.............
Since sources are symmetrical we use both positive and negative values.