P=\frac{ah_{Oa}}{2}+\frac{bh_{Ob}}{2}-\frac{ch_{Oc}}{2}