Find all the values of a for which the equations
x^2 + ax + 1 = 0
x^2 - x - a = 2
have a common real root. Enter all the possible values, separated by commas.