Write the following in algabraic expression: the sum of the number a and three times the square of the number b