NEED HELP WITH A MATH QUESTION

For this case we have that the total of objects is given by:
Large blue objects, small blue objects, large red objects and small red objects.
In total we have: [tex]17 + 3 + 8 + 12 = 4[/tex]0 objects.
If we want to find the probality of obtaining small and blue objects we have to:
[tex]p = \frac {3} {40}[/tex]
ANswer:
[tex]p = \frac {3} {40}[/tex]