Examples of using "私は鉛筆を10本買ったが、そのうち半分は弟に与える事になっていた。" in a sentence and their english translations:
I bought ten pencils, half of which were to be given to my brother.