Let the triangular piece of wood (brown in diagram below) have legs of $x$ and $y$ meters, so its hypotenuse is $\sqrt{x^2+y^2}$ meters long. The distance $h$ from the wall corner to the hypotenuse must be $0.9$ m.
The area of the larger yellow+brown triangle can be computed by taking $0.6+y$ as base and $x$ as altitude, or the brown triangle hypotenuse as base and $h$ as altitude. By equating these we get the equation:
$$ (0.6+y)\cdot x=\sqrt{x^2+y^2}\cdot0.9, \quad\hbox{whence:}\quad x={{0.9} y\over \sqrt{y^2 + 1.2 y - 0.45}}. $$
The area of the brown triangle is then $$ A={1\over2}xy={0.45 y^2\over \sqrt{y^2 + 1.2 y - 0.45}}. $$ The minimum can be found by differentiating $A$ with respect to $y$ and equating the result to zero, which leads to the equation: $$ y^2+1.8y-0.9=0, \quad\hbox{satisfied by}\quad y=\sqrt{1.71}-0.9=0.40767. $$ The corresponding value of $x$ is then $x=0.67043$.
![enter image description here](