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:G
['(3BcB Ac BGEF', '(3Bcd ef', 'B3 A BGEF GBAF G3 A', 'eg f2 df edBA (3Bcd ef g2']  
X:1
L:1/8
M:2/2
K:G
 B3 A BGEF | GABd efgd | B3 A BGED | GBAF G3 A | (3BcB Ac BGEF | G2 Bd edgd | (3BcB Ac BGEF | 
 GBAF G3 A || (3Bcd ef gfeg | fedf eBBA | (3Bcd ef g2 eg | fedf e3 d | Bdef gbeg | fedf edBA | 
 Bdd^c d2 ef | g2 af gfed ||"^variations" B3 A BGEF | G2 (3Bcd gfed | B3 A BGEF | GBAF G3 A | 
 B2 Ac BGEF | GABd edgd | B3 A BGEF | GBAF G3 A || (3Bcd ef g2 eg | f2 df edBA | (3Bcd ef g2 eg | 
 fedf e3 d | Bdef g3 e | f3 d edBA | Bdd^c d2 ef | geaf gfed ||  