Hello,

if I understand the problem and the attached sketch correctly then you cut off isosceles right triangles from a rectangle.

If and only if so:

1. The area of an isosceles right triangle is the half of a square, so no Pythagorean theorem needed.

2. Without any lengthes of the rectangle your problem cann't be solved.