He bought the ducks for 30*10=$<<30*10=300>>300
He sold each duck for 4*5=$<<4*5=20>>20
So he sold all the ducks for 30*20=$<<30*20=600>>600
So he made a profit of 600-300=$<<600-300=300>>300
#### 300