Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
M:4/4
K:D
['', 'AFEF D2 DE FABd eefd'  
X:1
L:1/8
M:4/4
K:D
 DE |:"D" EFBF AFEF | D2 DE FABd |"Em" eefd efed | B2 eB dBAG |"Bm" F3 B AFEF | D2 DE FABd | 
"A" eefd efdB |1 ABde"D" d2 DE :|2 ABde"D" dABd |:"D" A3 f edfd | A2 Af edfd |"Em" ABdA BdAB | 
 dBAF EDB,E |"Bm" F3 B AFEF | D2 DE FABd |"A" eefd efdB |1 ABde"D" dABd :|2 ABde"D" d2 ||  