220 wiring old to new
What you have in these pictures is a massive code violation, fire hazard as well as an electrocution hazard. This must be rectified first. Leaving this mess intact is negligent even if you cover it with a mile of electrical tape. 

You need to put all of this cable into a listed electrical box. Since we cant see the conductor size, I'm just going to recommend a pull box, something around 6x6x3 inches to make life easy. Each cable must have at least 6 inches of jacket/sheath removed and the individual conductors must be able to extend 3 inches form the front of the box. So 6 inches is plenty. The cables must also be held securely to the box with proper cable clamps. Buy properly sized wire nuts or listed splicing device to make the connections between conductors. The ground conductors must also be securely bonded to the junction box as well. Multiple individual wire nuts designed for smaller conductors is begging for trouble. The cost of these materials is negligible compared to a fire.

Until then, I am not going to help you any further and neither should anyone else.