Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
M:6/8
K:D
['d2 d cBA B>cB AGF G2 G', 'F2 F'  
X:1
L:1/8
M:6/8
K:D
 d2 d cBA | B>cB AGF | G2 G FED | E3 E2 G | F2 F DD/E/F | A2 A BB/c/d | c>BA EA^G | A3- A2 :| 
 cBA ABc | d3 F2 F | GFG B>AG | G3 F3 | A2 A GAG | F2 F EAG | F2 d Adc | d3- d2 :|  