Use the following information to answer the next six exercises: A baker is deciding how many batches of muffins to make to sell in his bakery. He wants to make enough to sell every one and no fewer. Through observation, the baker has established a probability distribution.
$$\begin{array}{|c|c|}\hline x & {P(x)} \\ \hline 1 & {0.15} \\ \hline 2 & {0.35} \\ \hline 3 & {0.40} \\ \hline 4 & {0.10} \\ \hline\end{array}$$
On average, how many batches should the baker make?