Develop a piece of music by incorporating the provided motif and following the outlined musical structure represented by alphabet characters.
X:1
L:1/8
M:4/4
K:D
['(3DDD FDFA', 'd2 fd Adfd']  
X:1
L:1/8
M:4/4
K:D
 d2 (3DDD FDFA | dfaf gfec | d2 (3DDD FDFA | GFEF GABc | dD (3DDD FDFA | dfaf g2 fe | d2 dc dcBA | 
 G2 EF GABc :: d2 fd Adfd | Adfd BABc | d2 fd Adfd | B2 B2 BABc | d2 fd Adfd | Adfd g2 fg | 
 agfe dcBA | G2 EF GABc :|  