Is there an easy way to make a function to inverse an algorithm for example like this:

```
>>> value = inverse("y = 2*x+3")
>>> print(value)
"x = (y-3)/2"

```

If you can't make actual code for the function, please recommend me tools that would make this task easier. The function would be only used to inverse algorithms with +, -, \* and /