Concept:
$\text{p}K_a = -\log K_a$. A higher $\text{p}K_a$ means a weaker acid. Acid strength depends on stability of the conjugate base ($\text{RCOO}^-$). Electron-withdrawing groups stabilize the conjugate base and increase acidity, while electron-donating groups destabilize it and decrease acidity.
Step 1: Benzoic acid.
The phenyl ring shows a mild $-I$ effect, stabilizing the carboxylate ion. Hence it is relatively more acidic.
Step 2: Phenylacetic acid.
The phenyl group is separated by $-CH_2-$, reducing resonance but still showing $-I$ effect, making it moderately acidic.
Step 3: Ethanoic acid.
The methyl group shows $+I$ effect, slightly decreasing acidity.
Step 4: Propanoic acid.
The ethyl group shows stronger $+I$ effect than methyl group, further destabilizing the carboxylate ion, making it the weakest acid.
Conclusion:
Propanoic acid is the weakest acid among the given options, hence it has the highest $\text{p}K_a$ value.