25 = (b-c) ^ (d-a), so you can have that in case you're other one involved just making a variable negative.
I'm in college. My brain is currently deflated... I was working on homework in a subject called, "Introduction to Mathematical Proofs". The premise of the class is that, if you know some basic math definitions, you can establish true statements. Everything in math is defined, very specifically. Example, even numbers. They have a definition. Pretty much, an even number is a multiple of 2. Then, (I won't bother you with details) and example of a truth you can mathematically prove is that the product of any two even numbers will be even. It's sort of common sense, but the course demands us to be very specific. Algebra makes it easier.
Back to the 22, 28, and 29!