I'm not sure if I'm correct, but after several mistakes I derived an answer for the width of the plank slightly different from . I used the equations

Differentiating, I obtained

Adding , multiplying both sides by , and squaring gives us a quadratic equation from which I derived my final answer.