We can represent probaiblity via the simplified equation:
[tex]P_x=\frac{x}{total}[/tex] i.e. How many 'good' results, or results we are looking for are there, out of the total of all possible results.
In this case we have:
[tex]P_{not apple or peach}=\frac{not apple or peach}{total}[/tex]
[tex]P_{not apple or peach}=\frac{12-(7+2)}{12}[/tex]
[tex]P_{not apple or peach}=\frac{3}{12}[/tex]
[tex]P_{not apple or peach}=\frac{1}{4}[/tex]