Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
M:4/4
K:C
['F2 A AFA AFA', 'd ecA Bcd ecA', '(f/g/) afa gfe fed cBA BdB'  
X:1
L:1/8
M:4/4
K:C
 BEA ue2003 |[M:6/8][K:D]SOSOO .!fermata!PMTCO(MA/G/) | F2 A AFA | AFA AFD | GBG FGA | 
 BGE E2 (A/G/) | F2 A AFA | AFA d2 A | Bcd AFd | AFD D2 :: d | ecA Bcd | ecA AGF | GBG FGA | 
 BGE E2 d | ecA Bcd | ecA d2 A | Bcd AFd | AFD D2 :: (f/g/) | afa gfe | fed cBA | BdB AFA | 
 BGE E2 (f/g/) | afa gfe | fed cBA | BdB AFd | AFD D2 :|  