Katy bicycles 2 miles west to get from her house to school. After school, she bicycles 7 miles north to her friend Charlotte's house. How far is Katy's house from Charlotte's house, measured in a straight line? If necessary, round to the nearest tenth.