Answer :
Answer:
No, I am afraid it is not.
Explanation:
1) this sentences is theoretically correct but I think you can better use as sujet et verbe; il faut.
I do not know if this is not what you had in mind but then it would be something like;
Avant qu'on visite à quelqu'un, il faut acheter un cadeau.
2) you forgot to conjugate the verb avoir.
Si le sujet serait ils, le verbe se devrait adapter au sujet.
So better would be; Après qu'ils ont mangé, ils disaient merci