A pineaple is 7 times heavy as an orange. The pineaple also weighs 870 grams more than the orange.
What is the total weight in grams for the pineapple and orange?