You roll a die and pick a card. How many outcomes are possible?

(there are 4 cards - 5, 6, 7, 8)

Since there are 6 possible outcomes from rolling a die and 4 possible outcomes from picking a card, the total number of outcomes is 6 x 4 = 24 possible outcomes.