Make a scale Rectangle with Area limitation

See here: How to scale a surface to a certain wanted surface area?

There is native grasshopper components versions posted as well as Pufferfish Scale To Area component version. Also, if it is a rectangle you can just make it that way to start instead of scaling with Pufferfish’s Constrained Area Rectangle component.