You just have to work backwards.
$800/2 = $400 each at the end
400 is to 4/5 as x is to 1
.8x = 400
x = $500 that Betty had before giving $100 (1/5) to Adeline
Adeline had $300 after giving Betty 3/5
300 is to 2/5 as x is to 1
.4x = 300
x = $750 that Adeline had to begin with.