Let $ r + g + b + w = 24, r <= 10, g <= 10, b <= 10, w <= 10 $
Now let $ r' = r + 1$ and so on.
So $ r' + g' + b' + w' = 24 + 4 = 28$ and each is less than or equal to 11 and greater than or equal to 0.
Imagine we have 28 balls and we place three dividers between the balls. This divides them into four groups, one for $ r'$, $ g' $, $ b' $, and $w'$.
There are 27 slots in which to put dividers and we must place 3 of them. The number of divisions is $ {27 \choose 3}=2925 $.
But this is where inclusion-exclusion comes in. We must exclude each of the cases where one variable is $ > 11$ and then include when two are, and so on.
Let's say $r' = 12$. We have $ g' + b' + w' = 16 $. By the same argument, this is $ {15\choose2} $. There are four of those cases for each variable. We can go on all the way up to $r' = 25$. This reduces to:
$4{15\choose2} + 4{14\choose2} + 4{12\choose2} + 4{11\choose2} + ... + 4{2\choose2} = 4{16\choose3} $. The equal sign is by the hockey-stick identity.
Now what if $ r' = 12 = b' $? There are several of these cases where two variables are greater than 11. The logic is the same, you just must consider several cases. I'll leave it to you to finish.
At the end take $ {27 \choose 3} - 4{16\choose3} + (two > 11) $, by the principal of inclusion exclusion.
Note that three variables may not be greater than 11 because each variable must be >= 1.
This, unless there is some solution I am not seeing, is not a typical inclusion exclusions problem. It does use it, however it is only in the last step.
In general, an inclusions exclusion problem will ask: How many occurrences are such that at least x is/are in a certain state? The best thing is never to memorize a formula, but instead think critically about your counting. Count the number of ways that exactly 1 object is in a certain state. Think about how many times you just counted situations in which two objects are in a certain state and subtract off those states until they are counted exactly once. Then think about 3, and so on.
It is called inclusion exclusion because you are including some cases, and then excluding cases that are double counted, then including the ones that are undercounted, and so on.
EDIT: I should clarify. The reason for the adding one to r to get r', and so on, is that now each variable must be at least one. This simplifies the "divider" logic, although it is certainly not required to do so - it just takes a slightly different thought process.