Two blocks of equal mass m are tied to each other

Question:

Two blocks of equal mass $m$ are tied to each other through a light string. One of the blocks is pulled along the line joining them with a constant force F. Find the tension in the string joining the blocks.

Solution: