Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
['f2 f'  
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
 A |"D" d2 d dcd |"A7" e2 e efg |"D" fed dcd |"A7" ecA A3 |"D" d2 d dcd |"A7" e2 e efg | 
"D" fed"A7" edc |"D" ddd d2 :: g |"D" f2 f fdf |"G" g2 g gbg |"D" f2 f fed |"A" ecA A3 | 
"D" f2 f fdf |"G" g2 g gbg |"D" fed"A7" edc |"D" ddd d2 :|  