To reformat your problem:

You have:

Given these items, you wish to take these actions: