The mech is two levels high so they have standard LoS to each other as if the level 1 hex weren’t there.
Modifying your example:
If the vehicle were adjacent to the level 1 hex, neither unit would have LoS
If the mech were adjacent to the level 1 hex, it would receive partial cover
If both units were vehicles, neither would have LoS