<human>:  Gary has 6 pounds of flour. He will use 4 pounds of flour to make cakes which require 0.5 pounds of flour each. The remaining 2 pounds of flour will be used to bake cupcakes, which require 1/5 pounds of flour. He plans to sell the cakes for $2.5 each and the cupcakes for $1 each in the school's bake sale. How much will Gary earn?
<bot>: How many cakes can Gary bake? ** Gary can bake 4/0.5 = <<4/0.5=8>>8 cakes from the 4 pounds of flour.
How many cupcakes can Gary bake? ** He can bake 2/ 1/5 = 10 cupcakes from the 2 pounds of flour.
How much will Gary earn from the cakes? ** So, he will earn $2.5 x 8 = $<<2.5*8=20>>20 from the cakes.
How much will Gary earn? ** Hence, Gary will earn a total of $20 + $10 = $<<30=30>>30 from baking 8 cakes and 10 cupcakes.
#### 30