Develop a musical composition utilizing the presented motif and adhering to the required structure.
X:1
L:1/8
M:4/4
K:D
['A2 dedB', 'F2 ED'  
X:1
L:1/8
M:4/4
K:D
 A2 |:"D" dedB A2 FA | dedB AFED |"Bm" B2 BA"D" F2 ED |"Em" FDGF"A" E2 A2 |"D" dedB A2 FA | 
 dedB AFED |"G" G2 GA"D" F2 ED |1"G" FA"A" E2"D" D2 A2 :|2"G" FA"A" E2"D" D2 z f |:"A7" eAcA eAcA | 
 eABc"G" dcBf |"A7" eAcA eAcA | eABc"G" dc B2 |"A7" eAcA eAcA | eABc"G" dc B2 |1 
"G" B2 BA"D" F2 ED |"G" FA"A" E2"D" D2 z f :|2"G" G2 GA"D" F2 ED |"G" FA"A" E2"D" D2 ||  