ADE is a right triangle so ue pythagoras' theorum.
AD=ED and DE=x
Area of triangle = 0.5*AD*ED
The total area of the container is equal to DC * the area of the triangle. o we just need to find DC.
But, we know the area of the rectangle satisfies
Substitute into the other equation and hopefully you can continue from there