Expectation and variance of a linear function of a variable

These relations should be known. They are fairly intuitive if you think about it, and not hard to prove algebraically. -mathformula2 not MarkupType-
Fatal error: Uncaught Error: Call to undefined method mathformula2::makeTypeDef() in /var/www/vhosts/ent.storkey.uk/html/inc/reporting2.php:365 Stack trace: #0 /var/www/vhosts/ent.storkey.uk/html/inc/dynaPage.php(189): echo_value('expectvarlin', 'content', Array) #1 /var/www/vhosts/ent.storkey.uk/html/inc/dynaPage.php(742): dynaPage->echo_value('content') #2 /var/www/vhosts/ent.storkey.uk/html/inc/dynaPage.php(179): mainPanel->write('main-panel') #3 /var/www/vhosts/ent.storkey.uk/html/index.php(21): dynaPage->write() #4 {main} thrown in /var/www/vhosts/ent.storkey.uk/html/inc/reporting2.php on line 365