From her home, Linda would have to walk 2 kilometers north to get to her friend Nicole's house and 8 kilometers east to get to her friend Jim's house. One day, Linda walked from her home to Jim's house. Together, Jim and Linda cut directly through the field that separated them from Nicole's house. When they finished playing at Nicole's, Linda walked back home. In all, how far did Linda walk? If necessary, round to the nearest tenth.