Craft a musical work in accordance with the given alphabetical guide of the desired layout and the presented motif.
X:1
L:1/8
M:2/2
K:G
['eA A2', 'ea a2']  
X:1
L:1/8
M:2/2
K:G
 eA A2 gAfA | eA A2 eAdA | eA A2 eAfA | gedB GABd :| ea a2 baag | eaag egdg | ea a2 bgag | 
 edef gedg | ea a2 baag | eaaf g3 a | bg g2 aged | eaag edBd |]  