Question 1071563
The ways of getting 10 with 2 dice are
6 and 4
4 and 6
5 and 5
-----------
so there are 3 ways of getting 10
Each of the 6 faces of one die can be paired up with 
one of the 6 faces of the other die, so there are
{{{ 6^2 = 36 }}} possible outcomes
------------------------------
The odds are defined as:
[ outcomes you want ] : [ outcomes you don't want ]
The odds of getting a 10 are:
3:33
The odds of not rolling 10 are:
33:3
----------------
This is an easy example. Let's say you had dice each with
100 faces, 1 through 100, and you wanted odds that 
when rolling them, you would get a total of 150.  You would
have:
100 & 50
50 & 100
-----------
99 & 51
51 & 99
-----------
etc. until you get to:
75 & 75
which is the last one
So, there must be a mathematical rule.
It looks like:
Total of outcomes you want is:
(( # of faces ) minus ( total you want/2 ))*2 + 1
Maybe you can look up a "formal" method.
Or you can figure it out each time like this.
Definitely get another opinion, too.