How can we solve this 3rd degree equation where the unknown is x\ge0 and a,y constants

The above equation comes from the main problem which is to express this formula y=(\frac{x}{3a}-a)\sqrt x as term of x

Is there any other way to express the second formula as term of x except to solve the first 3rd grade equation??

Thanks anyone in advance