2. (16 points) Two vegetable bases, A and B, supply the same type of vegetables to three farmers' markets, $A$, $B$, and $C$. According to the signed contract, 45 t should be supplied to $A$, 75 t to $B$, and 40 t to $C$. Base A can arrange for 60 t, and Base B can arrange for 100 t. The distance (in km) between A and B and markets $A$, $B$, and $C$ is shown in Table 1. The transportation cost is 1 yuan/(km·t). How should the supply be arranged to minimize the total transportation cost? What is the minimum total transportation cost?

Table 1
\begin{tabular}{|c|c|c|c|}
\hline & $A$ & $B$ & $C$ \\
\hline A & 10 & 5 & 6 \\
\hline B & 4 & 8 & 15 \\
\hline
\end{tabular}
2. Let base B supply $x \text{t}$ to $A$, $y \text{t}$ to $B$, and $[100-(x+y)] \text{t}$ to $C$. Then base A supplies $(45-x) \text{t}$ to $A$, $(75-y) \text{t}$ to $B$, and $[40-(100-x-y)] \text{t} = [(x+y)-60] \text{t}$ to $C$. According to the problem, the total transportation cost is
$$
\begin{aligned}
W= & 10(45-x)+5(75-y)+6[(x+y)-60]+ \\
& 4 x+8 y+15[100-(x+y)] \\
= & 1965-3[2(x+y)+3 x] .
\end{aligned}
$$

Since $0 \leqslant x+y \leqslant 100, 0 \leqslant x \leqslant 45$, the minimum value of $W$ is achieved when and only when $x+y = 100, x=45$, then
$$
W_{\min }=1965-3(200+135)=960 \text{ (yuan). }
$$