Welcome to HCM,
You do not require both the medicine at a time.
You might have informed about the medicine you are taking, so he might not have prescribed Amoxicillin
is good antibiotic and will work for dental infection as well.
So discontinue any one medicine after consulting your doctor
Ok and bye.