Develop a musical composition utilizing the presented motif and adhering to the required structure.
X:1
L:1/8
M:4/4
K:D
['D2 (3FED ADFD', 'fafd fafd egec'  
X:1
L:1/8
M:4/4
K:D
 D2 (3FED ADFD | A,2 (3CB,A, EA,CA, | D2 (3FED ADFD | Bdce dBAF | D2 (3FED ADFD | 
 A,2 (3CB,A, EA,CA, | D2 (3FED ADFD | (3Bcd ce fd d2 || fafd fafd | egec egec | fafd fafd | 
 egec dcBA | de (3fga fdBd | cd (3efg ecAc | dfec dcBA | FABc dBAF ||  