You know the area of each piece therefore you know the area of the big rectangle and since you know the width of the big rectangle you can recover its length.