94 chevy s 10 pickup 4 cylinder

while replacing starter I noticed flex pipe torn .I need to know how to replace flex pipe