Four bricks of length L, identical and uniform, are stacked on top of one another in such a way that part of each extends beyond the one beneath. Find, in terms of L, the maximum values of (a) $$a_1$$, (b)$$ a_2$$, (c)$$a_3$$, (d)$$a_4$$, and (e) h, such that the stack is in equilibrium, on the verge of falling.