Develop a musical composition utilizing the presented motif and adhering to the required structure.
X:1
L:1/8
M:4/4
K:D
['fedf e3', 'g fedf edBA (3Bcd ed'  
X:1
L:1/8
M:4/4
K:D
|: FBBA FADA | FBBA BcdA | FBBA FADg |1 fedf e3 E :|2 fedf e3 g :: fedf edBd | fedf a3 g | 
 fedf edBA | (3Bcd ed B4 :|  