For how many values of the coefficient a do the equation x2+ax+1=0, x2−x−a=0 have a common real solution?