An open pipe has every harmonic, ; a pipe closed at one end has only odd ones, The first overtone is the next note above the fundamental, which for an open pipe is the 2nd harmonic.
Using the open pipe's fundamental instead of its first overtone, which gives 40 cm.
Open first overtone and closed fundamental ; equal means .