Formulate music by adhering to the alphabetic portrayal of the designated musical layout and the motif given.
X:1
L:1/8
M:2/2
K:G
['(BA) GFGA (Bd({e} (3dcd) e)fge dB({c} (3BAB)', 'dbag efge', 'fd (3(efg) dc (TBA) A2 |{A} GFGA']  
X:1
L:1/8
M:2/2
K:G
 (BA) | GFGA (Bd({e} (3dcd) | e)fge dB({c} (3BAB) | efge dBGA | BAAG AcBA || GFGA (Bd({e} (3dcd)) | 
 efge (dB) TB2 |{a} gfge dBge | dBAB G2 | (Bc) | dbag efge | dBgB (TBA) A2 | dbag efge | 
 dg (3(fga) g2 ga || (3(bag) af (3(agf) fd | (3(efg) dc (TBA) A2 |{A} GFGA (Bd) d2 | 
 (3(efg) (3(fga) g2 |]  