Butterfly Method- Fractions with Unlike Denominators