Dear Student,
p + q = and pq =
Now,
ax2 - bx(x-1) + c(x-1)2 = 0
ax2 - bx2 + bx + cx2 - 2cx + c = 0
ax2 + bx + c - bx2 + cx2 - 2cx = 0
(a + b - c)x2 + (b - 2c)x + c = 0
Let m and n be the roots of above equation,
m + n = and mn =
m + n =
mn =
Solving above two equations we can get m and n
Regards