For the bottom action, the attacks are resolved after the movement is completely finished (so no enemy retaliations that are out of range of the ending hex). They are considered melee attacks, but you do not have to be adjacent to the targets at the end of the movement. However, you must have LOS to a target from your ending hex in order to attack it. Also, you cannot attack the same target multiple times.