You should start with the road axis to get the perpendiculars, else create a Concave Hull of the 2 sides with HullAccumulator coupled with CenterLineReplacer.
Use a combination of 3 custom transformers from the FME Hub: LineDivider (Line Lenght), 2DVectorCalculator (Vector Direction = Normal Right, Vector Lenght = 1) and LineToIntersectionExtender (2DVectorCalculator output as Candidate and bottom embankment as Base) to get the perpendicular lines.
Drape the perpendiculars on the surface created by the embankments. Use LineOnLine and keep just the segment between gray and red, CoordinateExtractor (0 and -1 for start and end vertex) and you have the ZValue of both points.