When an acute triangle is rotated about its longest side the resulting volume is 2880π, when it is rotated along its medium side the resulting volume is 3240π, and when it is rotated about its shortest side the resulting volume is
25920π/7. Find the perimeter of the triangle.