Your new compressor is presently wired for 220.The new power cord needs to connect the black and red (220v) lines from the receptacle, ( as shown in Your left picture) , to the "line in" lugs in the contactor shown in the right photo.
The green wire (Grounding wire )connects from the copper...