As shown in the image, the nine horses are square fenced. By constructing just two square fences can you make sure that two horses cannot meet each other without crossing the fence?

Nine Horse Riddle

It can be done as shown in the picture below.