Create musical pieces following the given structure and incorporating the suggested musical theme.
X:1
L:1/8
M:2/2
K:D
['d2 fd']  
X:1
L:1/8
M:2/2
K:D
 BAFB AFEF | DEFA B2 dB | BAFB A3 B | d2 fd efdB | BAFB AFEF | DEFA B2 dB | BAFB A3 B | 
 d2 fd edBA | d2 fd efge | afdf edBc | d2 fd efge | afdf edBA | d2 fd efge | afdf edBc | 
 defg a2 bf | afed B2 dB |]  