I think there are lots of different approaches to your question. I’m not exactly sure what you want to achieve, but I attached a graph where your input is the area of the building, the width of the building and the centre point.
The output is a polycurve representing the building’s perimeter.
Hi haaba,
the problem is not to built a rectangle but subdivide it in different area:
For example if I have a 50mq rectangle I’d like to subdivide it in 2 region of 20mq and 1 region of 10mq