Structured Task Solving via Modular Embodied Intelligence: A Case Study on Rubik's Cube