Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
Q:1/2=90
M:4/4
K:C
['dcdA FAdf edcB Agfe fafd', 'ag fgaf dfaf gabg efge fgaf bged'  
X:1
L:1/8
Q:1/2=90
M:4/4
K:C
 C |[K:D]S aS!p! Mfe | dcdA FAdf | edcB Agfe | fafd bged | cdBc A2 fe | dcdA FAdf | edcB Agfe | 
 fafd egec | d2 d2 d2 :: ag | fgaf dfaf | gabg efge | fgaf bged | cdBc A2 (fe) | dcdA FAdf | 
 edcB Agfe | fafd egec | d2 d2 d2 :|  