Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:2/4
K:D
['A AAAA/A/ BAAd AAAG GFF z FEE']  
X:1
L:1/8
M:2/4
K:D
 A | AAAA/A/ | BAAd | AAAG | GFF z | FEE z | ABAD | DFAC | E2 D |]  