Derek is playing a prank on Grace and hid her pencil inside a tissue box that has a width of 4 inches, a length of 8 inches, and a height of 4 inches. The pencil fits perfectly from the upper left corner to the bottom right corner of the box. What is the length of Grace’s pencil to the nearest tenth of an inch?