# How do you factor 3ab + a + 3b^2 + b?

$a \left(3 b + 1\right) + b \left(3 b + 1\right)$
$\left(a + b\right) \left(3 b + 1\right)$