The purity of the combined gold is the weighted mean of the purities, the weights being the amounts of gold melted.
Total weight =9+5+17=31 units
Purity=9+5+179×12+5×10+17×11=31108+50+187=31345
31345=11314≈11.13
So the purity is about 11.13 varṇa.
Check with pure gold content: the pieces contain 16108, 1650 and 16187 units of pure gold, a total of 16345 units in 31 units of alloy, so the alloy is 31×16345 gold, i.e. 31345 varṇa.
The combined gold has a purity of 11314≈11.13 varṇa. As expected, it lies between 10 and 12 varṇa and is close to 11, because the 11-varṇa piece is the largest.