Line spectra are obtained when individual elements are heated using a high-voltage electrical discharge. This heating causes excitation of the element and a subsequent emission of distinct lines of colored light are obtained. Each element has its own unique emission line spectrum; therefore, if any of the tested substances were the same, their spectra would match. However, this is not the case so none of the substances are the same.
hope it helps!
First overtone of open organ pipe is given as

first overtone of closed organ pipe is given as

now they are in unison so we will have




so end correction of both pipes is e = 1 cm