A cable 102 meters long is cut into two pieces so that one piece is 22 meters shorter than the other. Find the length of each piece of cable.

X + (x-22) = 102