Slide the largest diameter heatshrink over the cable. Push the remains of the strain relief out of the white plastic outer housing. Now slide on the plastic outer part of the magsafe connector. Make sure that you get it the right way round!