How to destroy the bottom block after I mined the top block (2x1 mining method) using commands?

The title says it all I don't know how to check it in Minecraft (I want to check it when i am 2 blocks away from it)

Continue to help post