我做菜時打碎了箇玻璃杯。

I broke a glass while I was cooking.

Source: Tatoeba

Sentence Composition