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
Q:1/2=100
M:2/4
K:D
['AB d2 AB', 'F2 F2']  
X:1
L:1/8
Q:1/2=100
M:2/4
K:D
 AB |:"D" d2 AB |"D" d2 AB |"D" F2 F2 |"D" FEFA |"Em" G2 G2 |"Em" GFGB |"D" ABAF |"D" D2 AB | 
"D" d2 AB |"D" d2 AB |"D" F2 F2 |"D" FEFA |"Em" G2 E2 |"A" C2 E2 |1"D" D4- |"D" D2 AB :|2"D" D4- | 
"D" D2 D2 |:"Em" E2 E2 |"Em" E2 DE |"D" F2 F2 |"D" F2 EF |"Em" G2 G2 |"Em" GFGB |"D" ABAF | 
"D" D2 D2 |"Em" E2 E2 |"Em" E2 DE |"D" F2 F2 |"D" F2 EF |"Em" G2 E2 |"A" C2 E2 |1"D" D4- | 
 D2 D2 :|2"D" D4- |"D" D4 ||  