Meaning of the problem is to find two right triangles equal perimeter, but with a predetermined magnification area.
That is necessary to solve a simple system of equations.
$\left\{\begin{aligned}&x+y=z+d\\&xy=qzd\end{aligned}\right.$
$q$ - any given some sort of advance coefficient.
Formula received, but it is interesting to know how others look. Maybe there is another idea and another view of the same.
Okay. I think it is necessary to show the formula, in order to more constructive discussion went. The system:
$\left\{\begin{aligned}&x+y=z+d\\&xy=qzd\end{aligned}\right.$
Solutions can be written as:
$x=qs^2-qps$
$y=qps-p^2$
$z=ps-p^2$
$d=qs^2-ps$
Or this:
$x=qp^2+qps$
$y=qps+(q-1)s^2$
$z=qp^2+(2q-1)ps+(q-1)s^2$
$d=ps$
That's the question. Can I submit solutions in a different way? And what is the idea should be the derivation of?