put two and two together

arrive at the truth by looking at facts