What decides the answer is the curved arrow
. It warns that the number of lanes in this direction decreases ahead and the lane it's painted in ends. The arrow shows which way to change lanes: here it's painted in the left lane and bends to the right, so the left lane will end and you need to move from it into the right lane in advance. The broken line between the lanes allows this