Let the length of open organ pipe be L'.
Frequency of second overtone of open organ pipe is given as, f1=2L′3v, where v is speed of sound in air.
Frequency of first overtone of closed pipe is given as, f2=4L3v.
According to question, f1=f2
2L′3v=4L3v⇒L′=2L.
Hence, length of open organ pipe must be twice the length of closed organ pipe.