Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:3/8
K:C
['(d/e/) c e d2 e', 'c2 (d/e/) c e d', 'c A d2 c/ B/'  
X:1
L:1/8
M:3/8
K:C
 (d/e/) c e | d2 e | d c2 || (d/e/) c e | d c2 | d3 :| A/B/ c A | d2 c/ B/ | A G2 | A/ B/ c A | 
 d2 c/ B/ | c3 |]  