Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/8
M:4/4
K:G
['GA A2', 'de e2']  
X:1
L:1/8
M:4/4
K:G
 B3 d GA A2 | GDEG AGEG | B2 dB GA A2 | Bged BAGA | B3 d GA A2 | GDEG AGEG | B2 dB GA A2 | 
 Bged e3 f || gedg de e2 | edBd de e2 | gedg de e2 | (3Bcd eg a3 g | gedg de e2 | edBd ed g2 | 
 gedg e2 dB | GEDE G3 d ||  