I borrowed my father's hammer to build a doghouse.
Literal
I [topic-は] doghouse [object-を] make [purpose-ために], father [possessive-の] hammer [object-を] borrowed.
~ために marks purpose — 'in order to make a doghouse.' The purpose clause comes before the main clause, a common Japanese word order. 犬小屋 ('doghouse') = 犬 ('dog') + 小屋 ('hut, shed'). ハンマー is an English loanword.