Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:2/4
K:G
['d/ d/c/B/A/ GB B2 Ac c2 Bd', 'D4 gdBG gdBG GABc d2 g2 B2', 'E2 DGFE D2 E2'  
X:1
L:1/8
M:2/4
K:G
 d/ | d/c/B/A/ GB | B2 Ac | c2 Bd | d2 B2 | ecBA | A2 G2 | FDEC | D4 :: gdBG | gdBG | GABc | 
 d2 g2 | B2 d2 | G2 A2 | BGAF | G4 :|[M:3/4]"^Trio" !fermata!D2 E2 | DGFE | D2 E2 | DGFE | D2 E2 | 
 DEFG | ABcB | B2 A2 ::  