Write a predicate glue(List1, List1List2, List2) using DCG grammar rules. The predicate should be true if the second argument is het concatenation of the first and the last argument.

?- glue([1,2,3],Merged,[a,b,c]).
Merged = [1, 2, 3, a, b, c].