Create musical composition by adhering to the given musical structure represented by letters and integrating the given motif.
X:1
L:1/8
M:2/4
K:D
['A3 B AF z2 FABA BdBA FEED']  
X:1
L:1/8
M:2/4
K:D
 B2 B2 | Bd B2 | e>fed | Bd A2 | eABc/B/ | A3 B | AF z2 | FABA | BdBA | FEED | EFAB | F>AFE | 
 D3 E | D2 z2 | dB B2 | dBBd | ef d2 | B2 A2 | ecBc/B/ | A3 B | AF z2 | FABA | BdBA | FEED | EFAB | 
 F>AFE | D3 E | D2 z2 |]  