Identify The Next Figure In A Matrix Where Each Row

Identify The Next Figure In A Matrix Where Each Row