For level 3, just hit undo when it shouldn't do anything. As for the other level, I have absolutely no idea how I got to thag mess. I kinds just spammed undo with the reset.
I managed to get the T into the corner by undoing as I reset but has anyone corrupted the level further?