Frequency will remain same but $\rho, v_{w}$ will change depending on medium
So, $\frac{\mathrm{I}_{\mathrm{i}}}{\mathrm{I}_{\mathrm{r}}}=\left(\frac{\mathrm{ai}}{\mathrm{ar}}\right)^{2}$ { same Medium }

Given, $F 1= F 2=500\, Hz$. speed of air $=330\, m / s$