Explanation:
Since, electron donating groups decrease the acid strength, therefore, 4-methoxy benzoic acid is a weaker acid than benzoic acid. Further, since electronwithdrawing groups increase the acid strength, therefore, both 4-nitrobenzoic acid and 3, 4dinitrobenzoic acid are stronger acid than benzoic acid. Further, due to presence of an additional at position with respect to group, 3, 4dinitrobenzoic acid is a little stronger acid than 4- nitrobenzoic acid thus the overall acid strength increase in the order:
4-methoxy benzoic acid benzoic acid 4 - nitrobenzoic acid , 4-dinitrobenzoic acid.