Offer the Same Free Gift When Customers Buy Either of Two Product Combinations

Configure a promotion where customers receive the same free gift when they purchase either one of two predefined product combinations, for example A + B OR C + D.