Answer
B
Work Step by Step
Heat transfer to the system will increase its internal energy while heat transfer from the system will decrease it.
Work done on the system will increase its internal energy while work done by the system will decrease it.