Explanation:
The only digit that is neither composite nor prime is 1, so the hundreds place is 1. Therefore, the digit in the ones place is twice 1, or 2. The only even prime number is 2, so the digit in the lakhs place is 2. We have 2 options for the tens thousands and tens places, 3 and 1 or 5 and 3 respectively. 7 and 5 does not work because 7 + 5 = 12, and 12 is not a digit. From this, the thousands place could be 4 or 8. Therefore, the number could be 234112 or 258132. Hope this helps!