The equations\( x^3 + 5x^2 + px + q = 0\) and \(x^3 + 7x^2 + px + r = 0\) have two roots in common. If the third root of each equation is represented by \(x_1\) and \(x_2\) respectively, compute the ordered pair \((x_1,x_2).\)
(x_1,x_2) = (5,-9)