You get solvable simultaneous equations.

Just translating the above information into Math:

(the definition of the volume of a cuboid)

(the changes you said)

(since these would make the sides of a cube, which are always equal)

Now simply solve.

Hope that helps

Mathemagister

PS If you need help with solving that, feel free to ask.