Balancing a transaction

Hi,

I tried correcting a transaction in the process, I messed up things and my account does not seem to balance

I would like the parts circled to come up to zero as this balances it for accounting purposes. Can anyone help with this please?