I did (b) .
For (a), I got this
$$\min 3x_1+2.7x_2+2.9x_3+2.8x_4\\ s.t. x_1+x_2\le 5\\ x_3+x_4\le4\\ x_1+x_3=3\\ x_2+x_4\ge4\\ x_i\ge0$$
The standard form is
$$\min 3x_1+2.7x_2+2.9x_3+2.8x_4\\ s.t. x_1+x_2+x_5= 5\\ x_3+x_4+x_6=4\\ x_1+x_3=3\\ x_2+x_4-x_7=4\\ x_i\ge0$$
When writting the initial simplex tableau I found a problem because there are only 3 basic variables and 4 constraints, what do I do to solve the problem?

I did a part of (a) and (c).
(a) I almost agree with your answer.
Introduce the following variables.
$x_1$ - the number of pints bought from Dick today,
$x_2$ - the number of pints bought from Dick tomorrow,
$x_3$ - the number of pints bought from Harry today,
$x_4$ - the number of pints bought from Harry tomorrow.
Remark that even if Tom can keep brew bought today for tomorrow, this is wrong, because he can buy it cheaper tomorrow. So without loss of generality we can assume that Tom buys $3$ pints of brew today and $4$ pints of brew and tomorrow. Then we have the following linear programming (LP) problem.
$\min 3x_1+2.7x_2+2.9x_3+2.8x_4\\ s.t. x_1+x_2\le 5 \\ x_3+x_4\le 4 \\ x_1+x_3=3 \\ x_2+x_4=4 \\ x_i\ge 0.$
(c) Replacing $x_3$ by $3-x_1$ and $x_4$ by $4-x_2$ we obtain the following LP problem
$\min f(x_1,x_2)=0.1x_1-0.1x_2+19.9\\ s.t. 3\le x_1+x_2\le 5 \\ 0\le x_1\le 3 \\ 0\le x_2\le 4.$
This LP problem has only two variables and can be solved graphically.
The domain of $(x_1,x_2)$ lies between the black segments.
The lines with $f(x_1, x_2) =\operatorname{const}$ are parallel to the straight line $x_1=x_2$, thus the minimum of $f$ on the domain of $(x_1,x_2)$ is achieved when $x_1=0$ and $x_2=4$.
Thus the final answer is $x_1=0$, $x_2=4$, $x_3=3$, $x_4=0$. In this case $f=19.5$.