nested if statements- how they work

Why not write a sketch and test the hypotheses?