Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:4/4
K:D
['EF F2', 'A2 GE'  
X:1
L:1/8
M:4/4
K:D
 dcAG EF F2 | AG G2 EF F2 |1 dcAG EF F2 | A2 GE ED D2 :|2 AG G2 EF F2 | A2 GE EDAD |: 
 (3EFG AB =c3 B | Ad d2 efed | dcAG EFGE |1 A2 GE EDAD :|2 A2 GE ED D2 ||  