Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/16
M:2/2
K:D
['fafd Adfa aggf g2 gf'  
X:1
L:1/16
M:2/2
K:D
|: Ad |"D" f2fg fedB | A2F2 F2A2 |"G" B2Bd BAGB |"A" AdFA DFAd |"D" f2fg fedB | A2F2 F2 GA | 
"G" BGBd"A" cAce |"D" d2f2d2 :: ag |"D" fafd Adfa |"G" aggf g2 gf |"Em" fgec"A" Aceg | 
"D" baa^g a2 a=g |"D" fafd Adfa |"G" aggf g2 gf |"Em" fgec"A" Acec |"D" d2"G"f2"D"d2 :|  