Answer
The complete reactions are written below.
Work Step by Step
One 'OH' group from$-COOH$ part of the acid molecule and one 'H' from the $-OH$ part of the alcohol molecule are eliminated to form the ester. This can be seen below for the above two reactions.