Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:6/8
K:C
['e e2 e g2', 'B B2 B d2'  
X:1
L:1/8
M:6/8
K:C
 e | e2 e g2 f | e2 d c2 e | e2 e g2 c | d3 c2 :: B | B2 B d2 c | B2 A G2 B | B2 B d2 G | A3 G2 :|  