The number of pizzas delivered to university students each month is a random variable with the following probability distribution $x=\{0,1,2,3\}$ and $$P(X=x)=\{.1,.3,.4,.2\}$$ respectively. If the pizzeria makes a profit of $\$3$ per pizza, determine the mean and variance of the profits per student. Please give the answers to two decimal places.
$$E(\text{Profit}) = ??, \qquad V(\text{Profit}) = ??$$
I have been having trouble with this. I tried to find the answers by dividing each number by the total, then adding them together, which doesn't seem right.
$\text{Mean} = \sum p_i X_i $
Where $X_i=3x_i$
$\text{Variance} =(\sum p_iX_i^2) - mean^2$