A ribbon 9 feet long is cut into two pieces. One piece is 1 foot longer than the other.
What are the lengths of the two pieces?