Answer:
The answer is that there are 2 green pins and 5 yellow pins remaining in the bag.
Explanation:
There are 3 green pins in the bag at the start and Yaqub gives one to his sister, so there are 3 - 1 = <<3-1=2>>2 green pins remaining in the bag. The rest of the pins in the bag must be yellow, so there are 2 green and 7 - 2 = <<7-2=5>>5 yellow pins remaining in the bag.