The rope was cut into 2 + 3 = <<2+3=5>>5 parts.
So each part is 40/5 = <<40/5=8>>8 meters long.
Since the shorter part is consists of 2 parts, then it is 8 x 2 = <<8*2=16>>16 meters long.
#### 16