For naming esters, the way I do it is the is somthing-anoate is always the carboxylic acid with the something-anoic acid on the end because both the ends are weird. For the first part which is something-thyl, it will always be whatever else your reacting, for example, if you react propanoic acid and ethanol in the presence of an H2SO4 catalyst, the organic product will be ethyl (since ethanol is the other thing or alcohol) propanoate (because propanoic acid is the carboxylic acid).