Robot movements

I am completely lost in my c++ class and have no clue how to do my existing assignment.

I need to design a program to move and locate the XxY locations of the robots A,B, and C that belong to a class H robot. It is assumed that the area is rectangular of Nft x Mft (each step equals to one foot).

Member functions will initialize the initial position of the robots, move the robot forward, backward, right and/or left form current position, and display the current location of the robot. Each movement of the robot will be commanded by a separate message. If the robot reaches the edge of the area, it will inform the controlller and refuse to obey the command that may force it to move outside the defined area.

Please help if you know how to design this program.