A 10m piece of wire is cut in to two pieces. One piece is 2 meters longer than the other. How long are the pieces?

x + x+2 = 10