n = 7 and d = 8
You can check by putting these numbers into the equation to see if it is correct.
7 + 8 = 15 so that is correct
and 0.05 x 7 + 0.10 x 8 = 1.15 is correct as well so that is how you can come to the conclusion of n = 7 and d = 8. You will have to use the opposite inverse in order to find missing variables.
Hope this helps.