Emily has a bag of apples that weighs 3.5 kilograms. She also has a bag of oranges that weighs 2.8 kilograms. If she decides to combine the two bags and then give away 1.3 kilograms of the total fruit to her friend, how much does the remaining fruit weigh in kilograms?