She [topic-は] hair [object-を] comb [with-で] comb-and ribbon [with-で] tied.
Two parallel verbs linked by te-form: 髪をくしでといて → リボンで結んだ, both with で marking the instrument (くし 'comb,' リボン 'ribbon'). とく here is 梳く ('to comb out, untangle'), distinct from 解く ('to undo').