Unfortunate if you don't know the solution.

 

The field in a long solenoid is proportional to the current and to the turns per unit length. Cutting the long solenoid in half does not alter the field, if the current stays the same.

In this example the current will be doubled if it is limited by the resistance of the coil itself.

 

The magnetic field strength will be 2T