An iron rod that weighs 24kg is cut into two pieces so that one of these pieces weighs 16kg and is 34m long. If the weight of each piece is proportional to its length, how long is the other piece?