roberta wants to cut a 24-foot wire into two pieces so that the longer piece is 3 times the length of the shorter piece. what is the length of each piece