An organ pipe $A$, with both ends open, has fundamental frequency $300\, Hz$. The third harmonic of another organ pipe $B$, with one end open, has the same frequency as the second harmonic of pipe $A$. The lengths of pipe $A$ and $B$ are (speed of sound in air = $343\, m/s)$