What is the IUPAC name of following compound?

What is the IUPAC name of following compound?
  1. 3-Hydroxy-4-methylbenzoic acid
  2. 5-methyl-3-Hydroxybenzoic acid
  3. 5-Hydroxy-4-methylbenzoic acid
  4. 4-methyl-3-Hydroxybenzoic acid

Asked in: MHT CET 2022 (11 Aug Shift 1)

Practice more Basic Principles of Organic Chemistry questions on Aicharya