Complex sentence: For example, a robot's lowest layer could be "avoid an object", on top of it would be the layer "wander around", which in turn lies under "explore the world".
Split into simpler sentences: For example, a robot's lowest layer could be "avoid an object". On top of it would be the layer "wander around", which in turn lies under "explore the world".