Do the math

Do one's math / Put two and two together


Tirare le somme

Tirare le conclusioni


Meanings
Fig.: to figure something out after considering all the facts and numbers

Examples
The ball that broke the glass is Nick's and, at the time, Nick was home alone. Do your math and you'll realize that Nick can be the only culprit
Il pallone che ha rotto il vetro è di Nicola e Nicola era l'unico a casa in quel momento. Tira le somme e vedrai che non può essere stato che lui

He can't just be a pizza man. He's got a ten-room beach villa and a Lamborghini. You do the math...
Secondo te, può essere solo un rider? Ha una villa al mare di dieci stanze e una Lamborghini. Tira tu le conclusioni...