You can put this solution on YOUR website! Label the plane point P, the closest point A, the farthest B, and point under the plane C.
-----
C = 90 degs
-----
PC = 5120 feet
angle PAC = 51.8 degs (I think that's what it says)
tan(51.8) = PC/AC
AC = 5120/tan(51.8)
AC =~ 4029 feet
----
angle PBC = 27.3 degs
tan(27.3) = PC/BC
BC = 5120/tan(27.3)
BC =~ 9920 feet
-----
AB = 9920 - 4029 = 5891 feet