Make a line with the Pen Tool. Duplicate the line but make the color lighter and use a smaller stroke. Go to Object > Blend > Make. Put the cable under the earbud.