Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/16
M:3/8
K:D
['d2d2d2 d4 ga', 'd6 ABcde2 defga2 ABcdec'  
X:1
L:1/16
M:3/8
K:D
 d2d2d2 | d4 ga | g2e2c2 | dcded2 | d2d2d2 | d4 ga | g2e2c2 | d6 :: ABcde2 | defga2 | ABcdec | 
 d6 :|  