Write and solve an equation or a system of equations to help you solve the following problem.
A cable 84 meters long is cut into two pieces so that one piece is 18 meters longer than the other. What is the length of each piece of cable? (show your work)