<human>:  Janette went camping for 5 days. She brought along 40 pieces of beef jerky. She wants to ration it out so that she can eat 1 for breakfast, 1 for lunch, and 2 for dinner each day. When she returns from the trip, she plans on giving half of the remaining pieces to her brother. How many pieces of beef jerky will she have left once she does this?
<bot>: How many pieces of jerky does Janette eat each day? ** Each day she eats a total of 1 + 1 + 2 = <<1+1+2=4>>4 pieces of jerky.
How many pieces of jerky does Janette consume on the trip? ** For the entire trip, she will consume a total of 4 * 5 = <<4*5=20>>20 pieces of jerky.
How many pieces of jerky will Janette have left after giving half to her brother? ** She gives half to her brother, which will leave her a total of 20 / 2 = <<20/2=10>>10 pieces of jerky.
#### 10