Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
Q:3/8=100
M:6/8
K:A
['agf edc']  
X:1
L:1/8
Q:3/8=100
M:6/8
K:A
 agf edc | fed c3 | fef B2 A | G2 c BGE | agf edc | fef{d} c3 | dcB cBA | BEG A3 |:  