If -5 is a root of the quadratic equation ((a-b)x² + (b-c)x + (c-a) = 0) and the quadratic equation (p(x² + x) + k = 0) has equal roots, find the value of k.

a) 25
b) -25
c) 5
d) -5