Develop a musical composition utilizing the presented motif and adhering to the required structure.
X:1
L:1/8
M:2/4
K:Dmix
['d2 BG dB c2 ABAG FG A2', 'dd ef'  
X:1
L:1/8
M:2/4
K:Dmix
 d2 BG | dB c2 | ABAG | FG A2 | d>d BG | Bd c2 | ABce | d2 d2 :: dd ef | dfec | d>d ef | d2 c z | 
 dd ef | gf ga | AB c(3A/B/c/ | d3 d :|  