Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/16
M:2/4
K:G
['g2Bc d2d2 dBGA B2B2 A2AB c2e2', 'cege f2f2 GBdf e2c2 egec fafd']  
X:1
L:1/16
M:2/4
K:G
|: g2Bc d2d2 | dBGA B2B2 | A2AB c2e2 | dcBc d2d2 | g2Bc d2d2 | dBGA B2B2 | A2AB c2e2 | dcBA G4 :: 
[K:C] cege f2f2 | GBdf e2c2 | egec fafd | Bdgf e2c2 | cege f2f2 | GBdf e2c2 | egec fafd | 
 BdgB c4 :|  