A block of mass m1 and another of mass m2 are connected by a cord that passes over a pulley.
This is a standare textbook problem.
However, what if the pulley was being accelerated upward by an external force F
(adjusted by right slider bar).
You can change mass or external force and water how the tension force changed!