An embedded question is contained within a statement or a question. The important thing here is word order:
1. I don't know where the library is.
2. Do you know where the library is?
3. Where is the library?
The first two examples show an embedded question. The word order is subject and then verb.
Question |
Embedded Question |

What does this taste like? |
I don't know what it tastes like.
Do you know what it tastes like? |

Where did you buy this cake? |
I can't remember where I bought it. |

Where did they move to? |
I have no idea where they moved to.
Does anyone know where they moved to? |

Why do leaves change color in the fall. |
I don't know why they change colors.
Is there a website that can explain why leaves change color in the fall? |

How long has she been gone on her trip. |
I'm not sure how long she's been gone.
Does anyone know how long she's been gone? |

How much did you pay for those shoes? |
I'm not sure how much I paid for them.
Does the receipt show how much I paid for them? |
|
When did she learn how to ride a tricycle? |
I can't remember when she learned.
Do you think she remembers when she learned to do that? |