Global Mapper v25.0

Can we combine polygons retaining same line lengths in each polygon ?

Hi,
I have two different shp files- one with polygons and other with lines. Now I want to merge some polygons, in a way such that each polygon can now have the same length of lines. (say for example polygon 1-which might be obtained as the result of merging few polygons having a length of 'x' km and similarly polygon 2 having the same 'x' km again.

Thankyou