Dual-Layer Reinforcement Learning for Quadruped Robot Locomotion and Speed Control in Complex Environments | Synapse