Add a loop cut to a default cube on the vertical x and y axes.

Scale the x oriented loop cut by 2

Scale the y oriented loop cut by 2 and press shift+y before submitting. This excludes the y axis.

All done

*Note_ if you scale the product by 0.25 it will be the same height as an original cube.