Final answer:
Victor bought 7 six-packs of soda.
Step-by-step explanation:
To find the number of six-packs of soda Victor bought, divide the total number of cans by 6. In this case, Victor bought 42 cans in total, so dividing 42 by 6 gives us 7. This means Victor bought 7 six-packs of soda.