Quadratic equation is x² + 9x - 6786 = 0 and sum of their ages is 165.
Step-by-step explanation:
⇒ x (x +9) = 6786
⇒ x² + 9x - 6786 = 0
⇒ x = (- 9 ± √81 - 4 × 1 × - 6786)/2
⇒ x = (-9 ± √27225)/2
⇒ x = (-9 ± 165)/2
⇒ x = - 174/2 or 156/2 = - 87 or 78
⇒ x = 78 (negative value of - 87 is rejected)
Ages are x = 78 and x + 9 = 87
Sum = 78 + 87 = 165