A rectangular prism has a length of 14 centimeters, a width of 8 centimeters, and a height of 10 centimeters. A cross section is formed by the prism and a plane that intersects the prism as shown. Find the perimeter of the cross section.