how to solve a fraction in entegers