How do I calculate the ratio of weak base to weak acid in a methyl amine buffer solution at pH=10.645 and pH=11.645 and pH=9.645?

Use the Henderson-Hasselbalch equation.

pH = pKa + log[(base)/(acid)]
Plug in pH and pKa and solve for base/acid ratio.