Final answer:
Lily got the idea for her mug when she stood on her bed and realized that a mug with legs would be harder to tip over.
Step-by-step explanation:
Lily got the idea for her mug when she stood on her bed. She could balance with her legs apart. She thought a mug with legs would be harder to tip over.