This is all logic - all in your mind!
This is not some difficult concept to understand. This is what you do every day.
To post a reply, for example, you hit Reply, type the text and hit Submit Reply.
Difficult? I don't think so.
This is the same thing. Logic. Steps taken to perform something. You should not have to rely on other to tell you how to do something. You should be able to figure out these kinds of things yourself!
Use a flowchart - write it down on paper how you would do it. How your "thought process" goes. Then translate to code.