My brother in christ, how is
A/B + C*D - E = F, solve for B
an original problem? How many tens of thousands of examples of this exact form do you think it came across?It's the same as with coding by the way: it can reshuffle things it has already seen while changing variable names and so on. Ask it something which is not in stackoverflow or geeks4geeks and it goes tits up.
PS: Tested it on GPT 3.5: same answer.