Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
M:2/2
K:D
['DEFG ABcA dcdA BAGF', 'fefg agfe'  
X:1
L:1/8
M:2/2
K:D
 D | DEFG ABcA | dcdA BAGF | GFED DEFG | BAGF E2 E2 | DEFG ABcA | dcdA BAGF | afdf gece | 
 d2 d2 d2 :: f2 | fefg agfe | dcde fedc | BABc GFED | A2 A2 A3 f | fefg agfe | dcdA GFED | 
 afdf gece | d2 d2 d2 :|  