You got the amine part right on the lidocaine, but not the "dimethyl" part. (For an amine, in general, you are usually looking for the descriptors primary, secondary, or tertiary, although it certainly doesn't hurt to be more specific). What alkyl groups are actually attached to the nitrogen?
Do you have any heteroatoms unaccounted for on the mepivacaine besides the oxygen and nitrogen in the amide? Or any multiple bonds besides the ones in the aromatic ring?