Let $ABCDEF$ be an equiangular hexagon. The lines $AB,CD,EF$ determine a triangle with area $48\sqrt3$, and the lines $BC,DE,FA$ determine a triangle with area $25\sqrt3$. The perimeter of hexagon $ABCDEF$ can be expressed as $m+n\sqrt p$, where $m,n,p$ are positive integers and $p$ is squarefree. What is $m+n+p$?