Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/8
M:2/2
K:D
['G2 FG', 'cdeg f3 a gfed cAAG A3 G']  
X:1
L:1/8
M:2/2
K:D
 DFAd f3 e | dcde fdAF | G2 FG E3 F | G2 FG EFGE | FD D2 FDFA | BG G2 Bcde | f2 af gecd |1 
 eddc d4 :|2 eddc d3 e |: fddc dfaf | gfed cdeg | f3 a gfed | cAAG A3 G | FD D2 FA A2 | 
 BG G2 Bcde | f2 af gecd |1 eddc d3 e :|2 eddc d4 ||  