Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/4
M:3/4
K:G
['B/>c/ B D B/>c/', 'A/>B/ c e d'  
X:1
L:1/4
M:3/4
K:G
|: B/>c/ | B D B/>c/ | B D B/>c/ | d e d | A2 A/>B/ | A D A/>B/ | A D A/>B/ | c e d | G2 :: B/>c/ | 
 d g f | A2 A/>B/ | c e d | B2 B/>c/ | B A B | c2 A/>B/ | c e d | G2 :|  