I can’t reply to other posts in this forum, but the program start was answered elsewhere.
Here’s a link to the picture:
I also wondered about “brought back to a legal starting position”. I think the rules should read something like: The robot must be brought back and legally positioned in the starting location.
There are many ways your robot could be positioned in that square.