Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/8
Q:1/4=112
M:3/4
K:Gmin
['G2 G>^F', 'A2 B2 B>G d>B A2 A>^F D2']  
X:1
L:1/8
Q:1/4=112
M:3/4
K:Gmin
 G2 G>A G>A | B2 B>c B>c | d2 d>c A>B |1 G2 G>^F D2 :|2 G2 G>^F G2 || d2 d>B f>d | c2 c>B A2 | 
 B2 B>G d>B | A2 A>^F D2 | G2 G>A G>A | B2 B>c B>c | d2 d>c A>B | G4 z2 |]  