which clause in the sentence. Below is an advert clause.

We will go to the movies, and then you will visit your friend after you clean your room.

We will go to the movies

Then you can visit your friend

after you Clean your room

after you clean your room