Develop a piece of music by incorporating the provided motif and following the outlined musical structure represented by alphabet characters.
X:1
L:1/8
M:4/4
K:A
['f3 e', 'z z', 'B2 GE', 'cd e2 ^de f2 ^ef =g2 fg', 'dGBd f2 ^ef dFAd']  
X:1
L:1/8
M:4/4
K:A
 D EFAB | c4 c3 B | ABcd cBAc | e2 B2 B4 | B3 B ABde | f3 e d2 dc | BABc dcBA | B2 Bc BG E2 | 
 EFAB cd e2 | f3 e dc B2 | BABc defg | a3 g fe d2 | dcda gfed | e2 cA e2 cA | BABc defg | a8 | 
 a2 z :| z z EGA |: B2 GE B2 GE | BGEd BG (3FED | B2 GE B2 GE | DCDF BA (3GFE | B2 GE B2 GE | 
 BGEd BG (3FED | B2 GE B2 GE |1 DCDF BA (3GFE :|2 DCDE FGAB || A2 GA B2 ^AB | c2 ^Bc d2 cd | 
 e2 ^de f2 ^ef | =g2 fg ^gefg |: a2 ga eAce | =g2 fg dGBd | f2 ^ef dFAd | e2 e2 edce | 
 =g2 fg dGBd | f2 ^ef dFAd |1 ecAB =GEGA | BA=GA EAce :|2 ecBA B=GFE | =GB e2 A4 ||  