See below.
Esters are classed as alkyl alkanoates. They form during the reaction between alcohols and carboxylic acids.
The name of an ester consists of two words.
The first part of the name is the alkyl group of the alcohol.
The second part of the name is the name of the acid minus the ending ic acid plus the ending ate.
But we usually write the formula with the acid part first and the alcohol part second.
The acid part of the formula is the original acid minus the carboxylic ##H## atom: ##RCOO-##.
The alkyl part is ##R-##.
So the formula of the ester is ##RCOOR##.
Ethyl Butanoate
Ethyl is ##CH_3CH_2-##.
Butanoic acid is ##CH_3CH_2CH_2COOH##. So the butanoate group is ##CH_3CH_2CH_2COO-##
The formula of ethyl butanoate then becomes ##CH_3CH_2CH_2COOCH_2CH_3##
The structural formula looks like this:
Pentyl Propanoate
Pentyl is ##CH_3CH_2CH_2CH_2CH_2-##.
Propanoic acid is ##CH_3CH_2COOH##. So the propanoate group is ##CH_3CH_2COO-##
The formula of pentyl propanoate then becomes ##CH_3CH_2COOCH_2CH_2CH_2CH_2CH_3##
The structural formula looks like this:
Propyl 3-Ethylhexanoate
Propyl is ##CH_3CH_2CH_2-##.
Hexanoic acid is ##CH_3CH_2CH_2CH_2CH_2COOH##. So 3-ethylhexanoic acid is ##CH_3CH_2CH_2CH(CH_2CH_3)CH_2COOH##
The 3-ethylhexanoate group is ##CH_3CH_2CH_2CH(CH_2CH_3)CH_2COO-##.
The formula of propyl 3-ethylhexanoate then becomes ##CH_3CH_2CH_2CH(CH_2CH_3)CH_2COOCH_2CH_2CH_3##.
The structural formula looks like this: