She'd reason this out by working backwards from the last possible scenario with only her and Daniel remaining.
Lo piensa hacia atrás, partiendo  del último escenario posible cuando quedan solo ella y Daniel.