Expand the first equation to x squared minus (a + b)x plus (ab + c) equals 0, meaning the sum of the roots alpha plus beta equals a + b and the product alpha beta equals ab + c. Expand the second equation to get x squared minus (c + alpha + beta + c)x plus (c + alpha)(c + beta) equals c, and substitute the sum and product of the first roots into this expanded form. This changes the equation to x squared minus (a + b + 2c)x plus (c squared + c(a + b) + ab + c) equals c, which simplifies to x squared minus (a + b + 2c)x plus (c squared + ac + bc + ab) equals 0. Factoring this resulting quadratic gives (x minus (a + c))(x minus (b + c)) equals 0, so the roots of the new equation are a + c and b + c.