If a 16 foot piece of string is cut into 2 pieces so that the longer piece is 1 foot longer that twice the shorter piece if the shorter piece is x foot long, find the length of both pieces