Step 1: Endowment and total resources.
\[
F = F_A + F_B = 2 + 8 = 10, \quad W = W_A + W_B = 5 + 5 = 10.
\]
Step 2: Amar’s marginal rate of substitution (MRS).
From $U_A = f_A^2 w_A$,
\[
MU_{f_A} = 2f_A w_A, \quad MU_{w_A} = f_A^2.
\]
Thus,
\[
MRS_{A} = \frac{MU_{f_A}}{MU_{w_A}} = \frac{2w_A}{f_A}.
\]
At equilibrium, $MRS_A = \frac{p_f}{p_w}$.
Step 3: Barun’s preferences.
For $U_B = \min\{f_B, w_B\}$, he consumes food and water in equal quantities:
\[
f_B = w_B.
\]
Step 4: Market clearing.
Total resources: $f_A + f_B = 10$, $w_A + w_B = 10$.
Since $f_B = w_B$, we can write $f_A = 10 - f_B$ and $w_A = 10 - w_B = 10 - f_B$.
Step 5: Amar’s utility-maximizing condition.
At equilibrium,
\[
\frac{p_f}{p_w} = \frac{2w_A}{f_A} = \frac{2(10 - f_B)}{10 - f_B} = 2.
\]
Hence, $\boxed{\dfrac{p_f}{p_w} = 2.}$