In trapezoid $EFGH,$ $\overline{EF} \parallel \overline{GH},$ and $P$ is the midpoint of side $\overline{EH}$. If the area of triangle $PEF$ is $18$, and the area of triangle $PGH$ is $36$, then find the area of trapezoid $EFGH$.