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