Construct musical works that adhere to the outlined structure and include the given musical motif.
X:1
L:1/8
M:2/4
K:G
['A AAdd c2 Ac BABB A2 z']  
X:1
L:1/8
M:2/4
K:G
 A | AAdd | c2 Ac | BABB | A2 z A | Bdd^c | d2 Bd | cBAG | BA G2 | z3 |]  