Hello, Mathnasium!

I found an approach.

Don't know if it's any better than Brute Force algebra.

LetSolve the following system, where :

Then we have: .

From [1], we have: .

Substitute into [2]: .

Hence: .

If , we have: .

. . which has the solution: .

If , we have: .

. .which has the solution: .