Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/4
M:4/4
K:G
['B B A/B/ |1 c', 'A/G/F/G/ A/B/c/A/ B G :|2 c A']  
X:1
L:1/4
M:4/4
K:G
 D G G F/E/ | D B B A/B/ |1 c c/B/ A/G/F/G/ | A/B/c/A/ B G :|2 c A F D | B A G2 :: d2 d e | 
 d B B A/B/ |1 c c/B/ A/G/F/G/ | A/B/c/A/ B G :|2 c A F D | E F G2 :|  