The correct option is B acetic acid< benzoic acid< formic acid
−CH3 group shows +l effect and increases electron density on given. so, decreases acidic strength.
Ph group shows +R and −I effect. So, it also increases electron density but less than −R group. So, the order is
CH3−COOH<Ph−COOH<HCOOH