Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/8
M:2/2
K:Dmix
['D3 B AGEF GEcE dEcE D2 (dc)', 'dcAB cAdB', 'D2 eaag (Tage)f geaf gedg eaag (Taga)a', 'dfed cAAB'  
X:1
L:1/8
M:2/2
K:Dmix
 D3 B AGEF | GEcE dEcE | D2 (dc) AGEG | (3(ABA) (AG) EFGE | D3 B AGEF | GEcE dEcE | D2 (dc) AGEG | 
 (3(ABA) (AG) (TED) D2 || d3 e dcAB | cAdB cAGB | Addc (Tdcd)B | cAGE (TED) D2 | (Tdcd)e dcAB | 
 cAdB cAGE | D2 (3(EFG) AddB | cAGE TED D2 || eaag (Tage)f | geaf gedg | eaag (Taga)a | 
 agea e2 d2 | eaag agef | geaf gedB | A2 (3(Bcd) e2 dB | cAGE TED D2 || dfec dfed | cAAB c2 (AG) | 
 Ad{e}dc (Tdcd)d | eaag e2 d2 | dcdc dfed | cAAB cdcA | GAcd (3(efe) de | cAGc (3(ABA) GE"_D.C." |]  