3x 2 + 7x + p = 0
Put x = -2
We get
3(-2) 2 + 7(-2) + p = 0
3*4 - 14 + p = 0
12 - 14 + p = 0
p = 2
______________________________________
x2 + k(4x + k - 1) + p = 0
Put p = 2
We get
x2 + k(4x + k - 1) + 2 = 0
=> x2 + 4kx + k2 - k + 2 = 0
Comparing this equation with ax2 + bx + c = 0
We have
a = 1
b = 4k
c = k2 - k + 2
Given x2 + k(4x + k - 1) + p = 0 has equal roots.
So,
b2 - 4ac = 0
or,
b2 = 4ac
On putting values of a, b, c we get
(4k)2 = 4(1)(k2 - k + 2)
=>
16k2 = 4k2 -4k + 8
=>
12k2 + 4k - 8 = 0
=>
3k2 + k - 2 = 0
=>
(k + 1)(3k - 2) = 0
=>
k = -1 or 2/3