solve ax+by=1, a/x-b/y=1