Each hat uses 0.2 kilograms of yarn and each scarf uses 0.1 kilograms of yarn. She wants to make 3 times as many scarves as hats and use 5 kilograms of yarn