Shown below is rectangle EFGH. Its diagonals meet at Y. Let $X$ be the foot if an altitude is dropped from $E$ to $\overline{FH}$. If EX = 24 and $GY = 30$, find the perimeter of rectangle $EFGH$.