Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
Q:1/4=110
M:2/2
K:D
['d4 A3 G FAAA FAAA dAdA dAFD', 'B3 c'  
X:1
L:1/8
Q:1/4=110
M:2/2
K:D
 d4 A3 G | FAAA FAAA | dAdA dAFD | A2 A>A A2 z2 | A3 A BAGF | EF/G/ A/B/c/d/ eeee | G3 G AGFE | 
 DE/F/ G/A/B/c/ d3 A | d>df>f d>dA>A | B>Bd>d B>BG>G | Fd/d/ dd cc/c/ cc | d2 d>d d2 :: dc | 
 B2 B>B B2 Bc | dcB^A B3 c | dd/d/ dc BB/B/ Bc | d2 c2 B3 c | d2 d>d d2 fd | c2 c>c c2 z2 | 
 A2 A>A A2 cA | dfaf d2 A2 | dcdA B^ABF | GABc d3 A | B2 e2 d2 c2 | d2 d>d d2 :|  