A wire is first bent into the shape of a triangle. Each side of the triangle is 6in long. Then the wire is unbent and reshaped into a rectangle. If the length of the rectangle is 5in, what is its width?