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
['d2 BG DGAG', 'BdAF G2']  
X:1
L:1/8
M:4/4
K:G
 d2 BG DGAG | dGAG DGBd | c2 Bd c=F F2 | C=FAF CFAc | d2 BG DGAG | dgfa gdBd | c2 AB cedc |1 
 BdAF G2 Bc :|2 BdAF G2 Bd |: g2 dc Bcdc | BG G2 DGBd | eaag a3 g | fdad bdaf | g2 dc Bcdc | 
 BG G2 DGBd | c2 AB cedc |1 BdAF G2 Bd :|2 BdAF G2 Bc ||  