ausklügeln

Verb

 * 1)  to devise, to work out