A triangle has sides represented by 9, x, and x + 2. If the
perimeter is 35, find the length of the longest side.
