a 12-foot piece of string is cut into two pieces so that the longer piece is 3 feet longer than twice the shorter piece. find the length of both pieces. what is the length of the shorter piece