The easiest way to find the solution is just to multiply: 8*3=24 It is easy to think of though, if you have 8 different pizza toppings and can only have 1 different cheese on each pizza, you could logically make 8 pizzas with that 1 cheese. Same with cheese 2, and cheese 3. Therefore you'd have 24 different combinations.
Hope this helped, and if it did I'd appreciate if you marked me as brainliest as I need it to get to a higher rank. If you need any more help, feel free to add me and/or message me :)