calculate the sum of all possible two digit num using the digit 3 and 4

If you mean using only the digits 3 and 4, well, there are only two such numbers:

34 and 43