Generate music with the following musical form in terms and the given motif.
X:1
L:1/8
M:4/4
K:G
['f3 g f2', 'FAdf a2'  
X:1
L:1/8
M:4/4
K:G
 b3 b bagf | gg g3 dBd | gdBd gBdg | fedB e4 | a3 b a2 g2 |1 f3 g f2 ed | f2 ed fedf | ed^ce d4 :|2 
 f3 g f2 e2 | d2 d2 e2 f2 | g6 || AG | FAdf a2 FF | FAdf a2 AA | A^cef ge^cA | AB^cA (3B^cB AG | 
 FAdf a2 FF | FAdf a2 AA | A^cef ge^ce | dfe^c d2 :|  