Power of a variable from dimensions

If the dimensions of the variables
W=[L3] , X =[MT] , Y=[M6L], Z =[M2T]W=[L^3]\ ,\ X\ =\left[\frac{M}{T}\right]\ ,\ Y=\left[\frac{M^6}{L}\right],\ Z\ =\left[M^2T\right]
What is the exponent n?


12X3W=Y3Zn\frac{12X^3}{\sqrt{W}}=\frac{\sqrt{Y^3}}{Z^n}

More Units Questions: