A plumber has a 36-in pipe he must cut it into two pieces so that one piece is 14 inches longer than the other how long is each piece ?