Question: converting a rational equation into a different form

Hi, 

I am trying to derive solutions for cubic equation using Maple.

Problem I encountered is it automatically cancles and simplifies, I cannot reach to the final form using Maple commands except modifying the equation by myself.

like, 

(-108*q - 12*sqrt(12*p^3 + 81*q^2))^(1/3)/6 into (-q/2 + sqrt(p^3/27 + q^2/4))^(1/3)

Another one, even though I want this fractional form, it becomes other form automatically

(-q/2 + sqrt(p^3/27 + q^2/4))^(1/3) into (-q/2 + sqrt(12*p^3 + 81*q^2)/18)^(1/3)

Thank you.

Please Wait...