Let p be a prime number. the quadratic equation having its roots as factors of p is

Let p be a prime number. the quadratic equation having its roots as factors of p is,

(a) x ^ 2 - px + p = 0

(b) x ^ 2 - (p + 1) * x + p = 0

(c) x ^ 2 + (p + 1) * x + p = 0

(d) x ^ 2 - px + p + 1 = 0