You have 2 numbers, both stored separate as numeric data type.
First number is always 6 digits long.
Second number can vary between 1 and 4 digits. If it's less than 4 digits, it needs to be padded with numeric value 0.
End result always needs to be 10 digits number.
Order has to be respected. n1|n2
n1 = 111111 n2 = 2222 result = 1111112222
n1 = 333333 n2 = 44 result = 3333330044
The rule is that you can only use numeric data types (number, int, float, decimal) to get the desired result.