How do I enchant a bow with Mending and Infinity?

Solution 1:

Infinity and Mending are mutually exclusive, meaning that they cant be on the same bow. You can only pick one between infinite arrows and infinite durability.