Gabriel is making a mixture of compost and soil to use for a special plant. He wants his final mix to be 2 parts compost and 8 parts soil. He wants to end up with 12 kilograms to mix. How many kilograms of compost should Gabriel use?