To calculate how many pumpkins can be planted in a given space, you need to know the total area available and the area required for each pumpkin.
You mentioned that each pumpkin needs a rectangular space of 30 cm x 10 cm, which is an area of (30 cm) * (10 cm) = 300 square centimeters.
Now, if you have the total area available, you can divide it by the area required for each pumpkin:
Total Area Available / Area Required for Each Pumpkin = Number of Pumpkins
If you provide the total area available, I can help you calculate how many pumpkins can be planted.