<human>:  A farmer planted 30 rows of tomatoes with 10 plants in each row. Each tomato plant yields 20 pieces of tomatoes. How many pieces of tomatoes can the farmer get from all his planted tomatoes?
<bot>: How many plants did the farmer plant? ** The farmer planted a total of 30 x 10 = <<30*10=300>>300 tomato plants.
How many pieces of tomatoes can the farmer get? ** Thus, the farmer can get 300 x 20 = <<300*20=6000>>6000 pieces of tomatoes.
#### 6000