This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] Closed pipe: $f_1=\frac{v}{4(1.5)}=\frac v6$. Open pipe: $f_2=\frac{v}{2(3.5)}=\frac v7$. Beats: $\frac v6-\frac v7=\frac{v}{42}=7$, so $v=294$ m/s. Answer: 294.