Simplify 2(ab+c)^2+3c(ab+c)-1