quitter is a transitive verb (note the COD le restaurant) and therefore uses avoir as auxiliary verb. Nous is the subject (and not the COD) so you don't match quitté to it.
Marie nous rejoindra quand nous aurons quitté le restaurant.
Sign in to submit your answer
Don't have an account yet? Join today
Test your French to the CEFR standard