I don't know about the top picture but the bottom one, those things are called cable sleeves, they're a pain in the ass to fit though, you have to take off the molex connector at the end... Or you could get ones that stretch, but they won't be as tight and may not look as good, they'll do the job though