Victory after the destruction of blocks

I am very grateful to you! I asked this question many times but could not implement the tips!
You will not believe it, but with this easy problem I suffered for a week, but now I can go further :eek:​​​​​​​