Solution:
Given that Juan owns
8 pairs of pants
1 shirt
3 ties
1 jacket
He can only wear 1 pair of pant at a time,
Thus, he can wear 8 pairs for 8 different times, together with 1 shirt and 1 jacket.
However, we have 3 ties,
Thus, he can wear each pair of pant with any of the 3 ties, bringing the different number of outfits he can wear to 8 x 3 = 24
Thus, the answer is
8 x 3 = 24