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=140
M:3/4
K:C
["ef g2 c'b ag gf ef d2", 'c4 ef d4 ^fg e4 ag ^fg']  
X:1
L:1/8
Q:1/4=140
M:3/4
K:C
 ef | g2 c'b ag | gf ef d2 | G2 Bc dB | c2 e2 ef | g2 c'b ag | gf ef d2 | G2 Bc dB | c4 :: ef | 
 d4 ^fg | e4 ag | ^fg ab c'a | g2 z2 ef | g2 c'b ag | gf ef d2 | G2 Bc dB | c4 :|  