First of all: I cannot see the entire problem.
Second: This is posted in the wrong category. You have posted it in the French category, while clearly you have a Mathematical problem to deal with.
I would suggest changing the category so that people like me would be able to help you. I wish you all the best!
1. Désolé, ça va ? Tu n'as pas eu trop mal ?
2. Excusez-moi, pourriez-vous répéter s'il vous plaît ?
3. Excusez-moi, pourriez-vous m'épeler votre nom s'il vous plaît ?
4. Hey ! Salut ! Ça va ?
5. Bonjour Monsieur
6. Bonjour, je m'appelle (your name).
7. Au revoir, merci d'être venu ! On se voit bientôt.
8. Je t'en pris
1. Boîtes
2. Bouteille
3. Paquet
4. Douzaine
5. Crémerie
6. Morceau
7. Litre
8. Poissonnerie
9. Boulangerie