Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/8
M:2/2
K:D
['(3Bcd ec', 'd2 fd'  
X:1
L:1/8
M:2/2
K:D
 DFAF BFAF | DFAF EGFE | D2 FA BAFA |1 (3Bcd ec dBAF :|2 (3Bcd ec dBAB || d2 fd Adfd | d2 fd BABc | 
 d2 fd Adfa | afeg fddc | d2 fd Adfd | d2 fd e3 f | gfec dcBA | (3Bcd ec dBAF ||  