An organ pipe $\mathrm{P}_{1}$ closed at one end vibrating in its first overtone and another pipe $\mathrm{P}_{2}$ open at both ends vibrating in its third overtone are in resonance with a given tuning fork. The ratio of lengths of $\mathrm{P}_{1}$ and $\mathrm{P}_{2}$ is:
(a) $1: 2$
(b) $1: 3$
(c) $3: 8$
(d) $3: 4$