Tom's mother and Mary's mother are sisters, so Tom and Mary are:

The correct answer is "first cousins"