There is no easy way - nor is there a difficult way. Even if you assume that
- there is no friction
- that the force is applied in the direction of motion
- the rope or bar by which the force is applied has no mass
- and is inelastic,
you cannot derive tension without knowledge about the mass.