An airplane takes off, levels off, and lands according to the diagram shown below. All measurements listed are in kilometers. A square sharing a side with a right triangle on its left side and sharing a side with a right triangle on its right side. The square has side lengths of three kilometers. The right triangle on the left side has a base of x kilometers, a height of three kilometers, and a hypotenuse of five kilometers. The right triangle on the right side has a base of y kilometers, a height of three kilometers, and a hypotenuse of seven kilometers. A square sharing a side with a right triangle on its left side and sharing a side with a right triangle on its right side. The square has side lengths of three kilometers. The right triangle on the left side has a base of x kilometers, a height of three kilometers, and a hypotenuse of five kilometers. The right triangle on the right side has a base of y kilometers, a height of three kilometers, and a hypotenuse of seven kilometers. What is the horizontal distance from the plane's starting position to its finishing position? Round your answer to the nearest tenth of a kilometer.