A 40-meter long rope is cut into two unequal pieces. If one piece is 18 meter longer than the other, what is the length ( in meter ) of the shorter piece ?