@legakwa, you must show work on this problem.
Look at this webpage. The coefficients tell us the number of ways a sum can happen. For example tells us that the sum of nine occurs four ways out of thrifty-six pairs.
Now you work out the probability mass function of T.
For the second part: D can have values