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