expand (3x+1)^2