How to solve Fraction operation mathematics