So for the first reaction I discovered it was a Fischer esterification.
The second one is a substitution.
but the third one im not completely sure:
In this reaction we have a substitution that involves the nucleophilic substitution of the Cl as leaving group with the new molecule as nucleophile, using the H for creating HCl as a side product.
We are using K2CO3 (potassium carbonate) that will be CO3-2 as base for counter the HCl, DMF as a polar aprotic solvent and temperature (90C) all of them for forcing the chemical equilibrium of the reaction to the right.