There are 8 numbers listed but only 7 variables, so assume there should be but one 8.
Take g over to the right: 6+g. So the right-hand side has a minimum value of 8 and a maximum value of 16 for g=2 and 10. If the left-hand side expression is the sum of two expressions that are integers, c is a factor of ab and f is a factor of de; also ab/c is interchangeable with de/f.
The numerators c and f cannot be 7 or 9 because none of the products of other numbers are divisible by 7 or 9.
What numbers have a sum of between 8 and 16? We know that the LHS expressions must sum between 8 and 16, so we can eliminate any sum of ab/c and de/f that exceed 16, and ab/c or de/f<16. That leaves: 10*7/5=14, 10*4/8=5, 10*2/5=4, 10*2/4=5, 2*8/4=4, 2*5/10=1, 2*4/8=1. By inspection, we can see, conveniently, that 10*7/5+2*4/8=15. The only number not yet used is 9 and 9+6=15, making g=9, so we have the equation:
10*7/5+2*4/8-9=6; a=10, b=7, c=5, d=2, e=4, f=8, g=9 as one solution. There are interchangeables: a⇔b, d⇔e; (a,b,c)⇔(d,e,f) providing other solutions.