A 39-foot-long speaker wire is to be cut into three pieces. One piece is to be 13 feet long. Of the remaining pieces, one must be 2 feet less than 3 times the length of the other. Find the length of the shorter piece