Since there are 24 cards and each friend has 6 cards, the ratio total cards to friend cards will give us the number of friends, that is
[tex]\text{ratio}=\frac{total\text{ cards}}{\text{cards for each friend}}=\frac{24}{6}=4[/tex]then, Doug shared with 4 friends