Tory sold 12 packs + 7 packs = <<12+7=19>>19 packs to his family members.
Tory sold 19 packs + 5 packs = <<19+5=24>>24 packs in total
He has to sell 50 packs - 24 packs = <<50-24=26>>26 more packs of cookies to reach his target
#### 26