[tex]P = \frac{ah}{2} \ \ /\cdot 2\\\\ah = 2P \ \ /:h\\\\a = \frac{2P}{h}\\---------\\\\ah = 2P \ \ /:a\\\\h = \frac{2P}{a}[/tex]