Remember algebra?

Miscellaneous Forums/General Discussion/Remember algebra?

Ha! I figured it out. Combining the two formulas lead to this:
X = ((X1-512)/44-(Y1-678)/28)/2
and
Y = (-(X1-512)/44-(Y1-678)/28)/2
See, if X =
    X1 - 512
X = -------- + Y
       44
and Y (from the second posts equations) =
    -(Y1-678)
Y = --------- - X
        28
then if the second equation is substituted for Y in the first, you get
    X1 - 512   -(Y1-678)
X = -------- + --------- - X
       44          28
which then becomes
     X1 - 512   -(Y1-678)
2X = -------- + ---------
        44          28
and then
    X1 - 512   -(Y1-678)
X = -------- + ---------
       44          28
    --------------------
              2
which is the solution. The solution for Y was similar.

I can't believe I still remember how to do all this crap.