You are correct so far . Now solve for x . Then you will get 2 values of x so you will need to verify which of them would give a max volume .
Use second order : d^2y/dx^2=6x-32
Whichever which gives a negative value is the one .
Then substitute this value of x back into the original equation
V=4x³ - 64x² + 256x