Develop a musical composition utilizing the presented motif and adhering to the required structure.
X:1
L:1/8
M:2/4
K:D
['fd dA B/c/d', 'FD dD FD B>D', 'ec A>c'  
X:1
L:1/8
M:2/4
K:D
 d/e/ | fd dA | B/c/d d>A | BA dF | E2 Ed/e/ | fd dA | B/c/d d>B | AF dF | D2 D :: D/E/ | FD dD | 
 FD B>D | AF dF | E2 ED/E/ | FD dD | FD B>D | Bd AF | D2 D :: d/e/ | fd af | ec A>c | dA dF | 
 E2 Ed/e/ | fd gf | ec A>c | Bd AF | D2 D :|  