Davia draws a shape with 5 sides. Two sides are each 5 inches long. Two other sides are 4 incheslong. The perimeter of the shape is 27 inches. What is the length of the fifth side?