Given that x2-2x-5=0 has 2 different roots, and x2+ax+b=0 has 2 roots, each 2 less than the corresponding root of the equation, find the values of a and b.
Let a and b be the roots of the equation x2-2x-5=0
a+b = 2, ab = -5
(a-2)+ (b-2) = (a+b) - 4 = 2-4 = -2
(a-2)(b-2) = ab - 2(a+b) + 4 = -5-2(2) + 4 = -5
The equation is x^2 + 2x - 5 = 0