The red piece move to minimize its distance to you either horizontally or vertically. Try to use the diagonal lines