Answer
The tension in the cord labeled $T$ is $~~10~N$
Work Step by Step
The pulley above the pinata with a weight of $10~N$ has two sides of the red cord pulling up on it. Therefore, the tension in the red cord must be $5~N$
The short cord labeled $T$ is pulling up on a pulley that is being pulled down on two sides by the red cord. Therefore, the tension in the cord labeled $T$ must be $10~N$