Let x = amount of 16% alloy, and y = amount of 30% alloy he should use.
Mixing the alloys will result in a compound weighing x + y = 100 grams.
For each gram of the 16% alloy used, 0.16 gram of titanium is contributed; similarly, for each gram of the 30% alloy used, there's a contribution of 0.3 gram. He wants to end up with an alloy of 23% titanium, or 23 grams (23% of 100), so that 0.16x + 0.3y = 23.
Solve the system:
[tex]x+y=100\implies y=100-x[/tex]
[tex]0.16x+0.3y=23\implies 0.16x+0.3(100-x)=23\implies7=0.14x[/tex]
[tex]\implies\boxed{x=50}\implies\boxed{y=50}[/tex]