Compose a tune that integrates the letter-based representation of the determined musical pattern and the given melodic idea.
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
["B/c/ d>edB d<BG>B Aaab c'>bag dedB dBAG", "eAA B/c/ dgga bagf eaab c'>bag bage"]  
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
 B/c/ | d>edB d<BG>B | Aaab c'>bag | dedB dBAG | Aeed eAA || B/c/ | dgga bagf | eaab c'>bag | 
 bage dgec | dBAB G3 :|  