Gather the blue dots on the left and the red dots on the right in the least amount of time as possible.