[tex]\bf A=\cfrac{1}{2}h(a+b)\implies A=\cfrac{h(a+b)}{2}\implies 2A=h(a+b) \\\\\\ \cfrac{2A}{h}=a+b\implies \cfrac{2A}{h}-b=a[/tex]