Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:4/4
K:G
['BG (3AGF GBAF D2']  
X:1
L:1/8
M:4/4
K:G
 A | BG (3AGF GBAF | D2 CD =FDCE | DG (3AGF GABc | d^cde fd=cA | BG (3AGF GBAF | D2 (3FED ADFD | 
 DG (3AGF GABc | dfe^c d2 B=c | dggf gbag | fd (3ddd fdcA | dggf gbag | fgaf g3 f | defg a2 ag | 
 fd (3ed^c defg | af (3gfe fde^c | dfe^c d3 ||  