An 18-foot wire is to be cut so that the longer piece is 5 times longer than the shorter piece. Find the length of each piece.