How to solve this puzzle?
The image was sent to me with a caption in Chinese (解了一天了 帮帮忙吧… - googling leads to some solutions) and blank spaces where I have added letters.
Separating each row and column into individual equations gives the following 6 simultaneous equations:
$a + b - 9 = 4$
$c - de = 4$
$f + g - h = 4$
$a + \frac{c}{f} = 4$
$b - dg = 4$
$9 - e - h = 4$
I believe there must be many, probably infinite solutions, for the above system. But how would one go about mathematically finding one?
If I'm not mistaken, $-\frac{c}{f}-c+de+dg+e-f-g+2h-18=0$ is one general form of the above system. How would I use that to extract real (integer) solutions?

I have absolutely no idea how to solve this problem by hand. Here's the code of a Python program to solve the problem:
Here is the output of such program:
As you can see the first solution is the only solution with unique digits, so I think that is what was intended.