You need to create a task that reflects the resource restrictions so that you can efficiently track the estimates to completion
you need to ensure that resources are not over-allocated, by using the method that gives you the most control
You need to allocate the remaining work to Resource B without removing or changing the Actual Work already recorded for Resource A