Make 2 square holes in a cube
What steps exactly are you taking for this process? Could I suggest using The Boolean modifier? If you don't want to use that you could always use the knife tool or CTRL+R to create edge loops.