How to create a code for this?

A post was merged into an existing topic: Please help I am not able to understand what is wrong!