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:2/2
K:D
['d2 d2']  
X:1
L:1/8
M:2/2
K:D
 FE |"D" D2 d2 d2 cd |"A7" ecAc"D" d2 de |"D" fdfd"A7" gege |"D" afdf"A7" e2 FE |"D" D2 d2 d2 cd | 
"A7" ecAc"D" d2 cd |"E7" efed cBA^G |"A" A2 A2 A2 :: fg |"D" agfe dedc |"G" B2 G2 G2 ga | 
"Em" bagf"E7" efed |"A" c2 A2 A2 fg |"D" afaf"G" gbgb |"D" afaf"Em" gbgb |"D" af"G"bg"A7" fedc | 
"D" d2 d2 d2 :|  