How to say after tom had eaten everything on his plate, he asked mary if he could eat her salad. in German

1)nachdem er alles von seinem teller gegessen hatte, fragte tom maria, ob er ihren salat essen dürfe.    
Translation by pfirsichbaeumchenConnect Error: Too many connections