Want to Try and Solve the Fraction Problem?

Project: Variables 'num1', 'denom1', 'num2', 'denom2' have been initialized.  There is also a working method called gcf(a,b) that determines the greatest common factor of a, b.

num1 is the numerator of the first fraction (5 in the example above)

denom1 is the denominator of the first fraction (4 in the example above)

num2 is the numerator of the second fraction (3 in the example above)

denom2 is the denominator of the second fraction (10 in the example above)

gcf(10,15) returns 5.

gcf(20,36) returns 4.

Task: Appropriately assign values for the variables 'sumNum' and 'sumDenom' that represents the numerator and denominator for the sum of the two fractions (simplified in lowest terms).