Algebraic Solution By comparison, we get the four equations: