put two and two together

смекнуть, понять

The death of his wife and the money he was going to inherit The police were sure to put two and two together.