Warning! The page was not fully loaded, probably because of a network issue. It could be that not all functionalities work as expected. Please try reloading the page.
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.