A flying squirrel lives in a nest that is 5 meters high in a tree. To reach a fallen acorn that is 3 meters from the base of the tree, how far will the flying squirrel have to glide? If necessary, round to the nearest tenth.