Price and Quantity Variance

In CPAexcel, it states that the selling price variance is "(budgeted price-actual price)*actual demand". It states that the direct material quantity variance is "(budgeted quantity-actual quantity)*budgeted price". I understand the budgeted minus actual part, but why does one variance multiply using "actual", and the other variance multiply using "budgeted"?