This graphic illustrates T-account entries in the above example.