She realized that Nolan has been on Satoshi Takeda’s payroll. He was only working for him in order to protect her.
Her mentor showed her the picture Tyler was going to use to expose her. Another flashback showed the struggle Daniel had with Tyler before he shot him. Takeda used a rock to knock Daniel unconscious, then while Tyler was still alive, so he shot him twice in the back.