Let the wire be units of length long

Cutting it into equal parts gives for each piece.

Each of these thirds is then cut up into

,

For x to be an integer we need to find the LCM (lowest common multiple) of 12, 18 and 24 which happens to be 72 (see the spoiler for how to show this)

Spoiler: