Visualising the model is a bit tricky. The eye cannot see the tiny differences. One of the great examples that eyes can be trapped is the missing square puzzle. Therefore, we cannot rely on the visual presentation of the model to calculate the height.
Here, I will try to present the problem mathematically:

We know the length of $BC=6m$ which represents the horizontal shadow, $CD=4m$ which represents the vertical shadow, $BE=4m$, $AE=x$
height of the red bar is $AE + BE = 4m + x$
$\angle{AED}=90^\circ$ and $\angle{ADE}=60^\circ$ and $\angle{ADE}=30^\circ$
So, $AD=2x$ and $ED=x\sqrt{3}=6m \Rightarrow x = \frac{6}{\sqrt{3}}$
$AB = 4m + \frac{6}{\sqrt{3}}m \approx 7.464m$