In the equation 2(x+3)=ax+b, a and b are constants. If the equation has infinitely many solutions for x, what is the value of a+b?
2
3
6
8