Here are some more problems using the same diagrams.
P (P, D )
Go to the penny trunk and count the dime branches 1/25
P (Not N, Q )
Go to the penny, dime, quarter 1 and quarter 2 trunks and count the quarter branches 8/25
P (P, N, or D, and then Q)
Go to penny, nickel, and dime trunks and count the quarter branches 6/25
P (Q, not P)
Go to the quarter one and quarter two trunks and count nickels, dimes, and quarters 8/25
P (P,D)
Go the penny trunk and count the dime branches 1/20
P (Not N, Q)
Go to the penny, dime quarter one and quarter 2 trunks and count the quarters 6/20 = 3/10
P (P, N, or D, and then Q)
Go to the penny, nickel, and dime trunks and count the quarter branches 6/20 = 3/10
P (Q, not P)
Go to the quarter one and quarter 2 trunks and count nickels , dimes, and quarter branches 6/20 = 3/10