.
Let
and
be the roots to the second equation.
Then, according to Vieta's theorem,
+
= - m;
.
= n. (1)
According to the condition, the roots of the first equation are
and
.
Then, according to the Vieta's theorem
p =
=
=
=
,
q =
=
=
.
Answer. Under the given conditions, p =
and q =
.
Solved.