The last dive was punished in itself by a foul not being given. He should have had a yellow card as well, but the fact is that as he broke into the box with the ball, he was already set in his mind on what he intended. He had a fair chance of scoring himself, or laying the ball off to his teammate in front of goal, but instead he wasted the opportunity by trying to cheat. It didn't work.