If the expression 6x2+2y2+8xy+bx−3y+1 can be resolved into product of two linear factors, then b takes the value