Answer
The answer is attached below.
Work Step by Step
Carboxylic acids are drawn according to the nomenclature system rules set by the IUPAC.
1. In pentanoic acid, the longest hydrocarbon chain contains 5 carbon atoms.
2. The carboxylic acid group is attached to a carbon on the right-hand side. The numbering starts from this carbon atom.