The black thing on the right is a SNAP-27 RTG. and the box on the left is an ALSEP (Apollo Lunar Surface Experiment Package) that it powers.
Here's a picture of the ALSEP for Apollo 12:
And here is Alan Bean attaching it to the RTG with the antenna to make the barbell object in your original image:
As to the second part of the question, it is clearly a ...