A metallurgist has an alloy with 15% titanium and an alloy with 20% titanium. He needs 100 grams of an alloy with 17% titanium. How much of each alloy should be mixed to attain the 100 grams of alloy with 71% titanium?