Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:6/8
K:D
['A dfe d2', 'f3 gfg a3 f2'  
X:1
L:1/8
M:6/8
K:D
 A | dfe d2 A | dfe d2 f | a2 f dcd | efe e2 A | dfe d2 A | dfe d2 f | a2 f efe | d3 d2 :: e | 
 f3 gfg | a3 f2 a | gag fgf | e2 e ede | f3 gfg | a3 f2 d | efg fge | d3 d2 :|  