An envelope measures 9 inches by 4 inches. A pencil is placed at a diagonal. What is the maximum possible length of the pencil? If necessary round to the nearest tenth