He cuts off 50/5=<<50/5=10>>10 feet
So he has 50-10=<<50-10=40>>40 feet left
He gives half away which means he has 40/2=<<40/2=20>>20 feet
So he has 20/2=<<20/2=10>>10 sections
#### 10