Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:2/4
K:D
['AD FA', 'c/B/A Aa af g2 fe f2 g>f'  
X:1
L:1/8
M:2/4
K:D
 AD FA | GF EF/G/ | AD FA | d2 c>B | AD FA | GF Ed | c/B/A Bc |1 d2 c>B :|2 d2 de |: f2 g>f | 
 ed c/B/A | Aa af | g2 fe | f2 g>f | ed c/B/A | BA Bc |1 d2 de :|2 d2 cB |]  