Factorize each of the following algebraic expressions:
a2 + ab + 3ab + 3b2
= a (a + b) + 3b (a + b)
= (a + 3b) (a + b)