A 45-foot length of wire is to be cut into 2 pieces, so that the longer piece is three feet longer than five times the shorter piece. find the length of each piece.