In the first post of this thread, you attached two problem statements as images.
The first one is a copy the question in the earlier thread. This has the two blocks connected via a string which passes around a pulley (not shown) attached to a wall. Another string pulls on the lower block.
The second image shows the top block tied to a wall. Only one string attaches to the lower block, and there is no pulley. You appear to have drawn in a second string, making it look like the first problem. The two problems are different. If you modify it to look like the first problem then of course you will get the wrong answer.