And, actually:

Formula: copy to clipboard
=SUM($A$2:$A$5*$B$2:$B$5)
NOT Array Entered and dragged down will give the sums of individual rows.

Regards, TMS