How to express the length of the walls, L metres, in terms of x and height of the walls H metres, in terms of x?

enter image source here