Answer:
20
Step-by-step explanation:
In class 1, they used 10 sweet potatoes.
If they need 30, in class 2, they used 20.