Both of them are correct
Explanation: in order to reach volume you must multiply base x height x width which is what the second person did.
Base area is just the same as multiplying base x width.
Also, it does not matter which order you multiply the three in