Good job — your sentences are correct!
Here they are again with a little explanation:
- When the cat is awake, it loves to play.
We put a comma after "awake" because that first part (When the cat is awake) tells when the cat plays. Then the main idea follows: "it loves to play."
- Can you spot the cat asleep?
This is a question, so it ends with a question mark. It means: "Can you see the cat that is sleeping?" It is correct and sounds a little like a playful sentence.
Some simple alternatives you could use:
- "Can you spot the sleeping cat?"
- "Can you find the cat that is asleep?"
All of the original sentences are fine. Nice work!