Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:6/8
K:D
['A dcd fed cBc edc BAB dcB'  
X:1
L:1/8
M:6/8
K:D
"^A" A |"D" d2 D D2 D |"Em" EFG"A7" ABc |"D" dcd"E7" Bed |"A7" cAA ABc |"D" d2 D D2 D | 
"Em" EFG"A7" ABc |"D" d2 A"A7" GFE |"D" FDD D2 :|"^B" A |"D" dcd fed |"A" cBc edc |"Bm" BAB dcB | 
"F#m" A3- A2 F |"G" GFG BAG |"D" F2 A d3 |"E7" E2 ^G B3 |"A7" C2 E A2 A |"D" dcd fed |"A" cBc edc | 
"Bm" BAB dcB |"F#m" A3- A2 F |"G" GFG BAG |"D" F2 A"A" a2 g |"Bm" fed"A7" Adc |"D" d3- d2 :|  