as far as i can tell your problem is not solvable. you have 1 equation with 2 unknown variables and in order to solve it you'll need another equation with the same 2 unknown variables. in simple terms (meaning simple arithmetic instead of modular on group) it is like wanting to solve x+y=10 (answer is: x=0, y=10 or x=1, y=9, and so on).
so for every "w1=a/b" and "w2=b/a" there can be multiple "a" and "b" values that can return the same result.
i can post a bunch of a's and b's with the same w1 and w2 results if you like.
ps: here is an example solution to your a and b and you can send my 3 BTC here: bc1q3aqjl7c8jc65vafdk9yc535yn2uvy49nxesd0s

a = 71567582482005396045706132302672619983252670291749153589321209247172649255534
b = 110101476471620722453482014247311557188089332708600935691798908256279685902522