For this case we propose a system of equations:
x: Let the variable representing the length of the longer piece
y: Let the variable representing the length of the shorter piece
According to the statement data we have:

Substituting the second equation into the first we have:

Thus, the shorter piece is 30 cm.

Thus, the longer piece is 70 cm.
Answer:
The longer piece is 70 centimeters.