Reversing equation

BlitzMax Forums/BlitzMax Programming/Reversing equation

Try it!

a=22
b=166

x=(a-b)*2
y=a+b

'------------------

aNew=((x/2)+y)/2
bNew=y-aNew