OK. Apologies for the time it has taken, but I had a "rush" job to complete that took up most of my time this past week.
Attached is the Lisp for Option 1, along with a question for option 2 which I've labelled as "3".
The drawing contains the maximum detail needed for the section, as the rest will be added by the lisp. The polyline will be automatically converted to run from left to right. The datum line will be converted from a polyline to a line (if required) and again set to run left to right. I needed it to do this to simplify the offseting.
This produces the two "SOLUTIONS" with the given offsets. The 0.0 and 10.0 (or end of polyline) are added automatically so don't have to be entered. If you don't require all this let me know.
Command to run (once loaded) is ODL.
You will be asked for the vertical exaggeration. Default is 1 (1:1). If the exaggeration is 1:5 you only need to enter 5
You will be asked to select the polyline, then to select the Datum Line, followed by the Datum Line Level (default 0.000), and finally the offset distances (default 0.000). As mentioned above the lisp knows the 0.000 offset (start of polyline) and the end of polyline offset; these are added automatically, so you only need to enter the intermediate ones. This is all collected in a while loop and the offset distances are added to a list. Once all the intermediate offsets are added return the default (0.000) to exit the loop and produce the solution.
I will attempt to added Solution 2 to this once I know all the requirements.
ROAD-SK-TEST.dwg
ODL.lsp