There are two ways that we can end up with an even number by adding two numbers.
Either both numbers have to be even, or both have to be odd.
Starting off, let's find out the probability that we will roll two cubes and they will both show an even number.
For cube A, we have 6 possible outcomes. Out of those six, three numbers are even (2,4,6).
Therefore, we have 36=12 ways to roll one cube and have an even number show up.
This is the same for cube B. In total, we have 12∗12=14 ways to roll two cubes and have both of them show even numbers.
If we do the same thing for the odd numbers, we would get the same result of 14.
Adding these two possibilities together, we would get 14+14=12
Therefore, our answer is 12
.