Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/16
M:2/2
K:G
['B2B2B2B2 c4 A4 A2A2A2A2 B4 G4 ABcB', 'c4 A4']  
X:1
L:1/16
M:2/2
K:G
 B2B2B2B2 c4 A4 | A2A2A2A2 B4 G4 | ABcB ABAG F2B2G2E2 | f2f2f2f2 g4 e4 | efgf efed ^c2f2d2B2 :| 
 dgdB dgdB d4 B4 | cecG cecG c4 A4 | dgdB egec fafd B2G2 | B2B2B2B2 c4 A4 | A2A2A2A2 B4 G4 | 
 f2f2f2f2 g4 e4 | e2e2e2e2 f4 ^d4 | edcB cBAG F4 E4 ||  