How to sum tuple elements

@leandromartinez98 Sorry, your solution gives an error.
I don’t understand why the complete solution gives an error:

numbers = [1,2,3,4,5]
x = collect(Iterators.product(numbers, numbers))
y = filter(t -> sum(t) == 6, x)