Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:4/4
K:G
['DEGA BGGA BGGB AEEG DEGA BGGB', 'Bddg ecce'  
X:1
L:1/8
M:4/4
K:G
 GE | DEGA BGGA | BGGB AEEG | DEGA BGGB | cABG EG D2 | DEGA BGGA | BGGB AEEG | DEGA BGGB | 
 dBcA BG G2 || Bddg ecce | dBBd eAAc | Bddg ecce | gdBG AGED | Bddg ecce | dBGB cAAF | DEGA BGGB | 
 dBcA BG G2 ||  