Many younger children like to play a game similar to baseball called tee-ball. To accommodate the younger children, the bases are only 40 feet apart in a square-shaped field. Find the distance between home plate and second base in tee-ball. If necessary, round your answer to the nearest tenth.