Can you determine the height of red bar with the help of information provided in the picture below?

Lateral Thinking Height Of Red Bar Puzzle

8m

From green bar, we can deduce that
the height of vertical bar = 2/3 of uninterrupted shadow length of the bar.

Therefore shadow of 6m of red bar indicates the height of 4m.
The remaining red bar casts a direct 1:1 vertical projection on the wall.

Therefore total length = 4m + 4m = 8m.