Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/8
M:2/2
K:D
['g fdec dBAF FA (d/e/g) eEEg fdec', 'fddf gbeg']  
X:1
L:1/8
M:2/2
K:D
 g | fdec dBAF | FA (d/e/g) eEEg | fdec dBAG | FdEc dDD :| g | fddf gbeg | fddf ceAg | fddf gbeg | 
 fdec dDDg | fddf gbeg | fddf ceAg | fdge bfge | fdec dDD |]  