I've attached a sketch of the forces.
The red force is the combination of the 2 tugs.
The blue force is the resulting force of all 3 forces.
To calculate: Use Cosine rule in the painted triangle. Afterwards use a triangle containing the force caused by the ship's motor.