Make x the subject of the formula L= xh∕ a(x+p)
\(L=\dfrac{xh}{a(x+p)}\\ aLx + aLp = xh\\ xh - aLx = aLp\\ x = \dfrac{aLp}{h-aL}\)