If the equation ax2+x+b=0 and x2+bx+a=0 have a common root and the second equation has equal roots, then 2a2+b=