Solve for x (x+3)(x+1)=4x+7